summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-07-21 19:49:05 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-07-21 19:49:05 (GMT)
commit5a0f06ef27221f5e893a4a4c4dd96a20b7397f95 (patch)
treea17342af23e22c39f68345d252456fc472d6a635
parentfbd0181b080f8f26a6a46b9566bec71395310bd4 (diff)
downloadswift-contrib-5a0f06ef27221f5e893a4a4c4dd96a20b7397f95.zip
swift-contrib-5a0f06ef27221f5e893a4a4c4dd96a20b7397f95.tar.bz2
Pre-render the chat window splitter.
Should avoid the background tabs showing through. Hopefully Resolves: #185
-rw-r--r--Swift/QtUI/QtChatWindow.cpp1
1 files changed, 1 insertions, 0 deletions
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);