From 5a0f06ef27221f5e893a4a4c4dd96a20b7397f95 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Wed, 21 Jul 2010 20:49:05 +0100 Subject: Pre-render the chat window splitter. Should avoid the background tabs showing through. Hopefully Resolves: #185 diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index 8fed3c6..c1cb94e 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -53,6 +53,7 @@ QtChatWindow::QtChatWindow(const QString &contact, UIEventStream* eventStream) : QWidget* midBar = new QWidget(this); layout->addWidget(midBar); + midBar->setAutoFillBackground(true); QHBoxLayout *midBarLayout = new QHBoxLayout(midBar); midBarLayout->setContentsMargins(0,0,0,0); midBarLayout->setSpacing(2); -- cgit v0.10.2-6-g49f6