diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-29 21:28:20 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-29 21:28:20 (GMT) |
commit | 509c20d24b59e09e7aeb5045abebad8a370bb3ba (patch) | |
tree | e063f3fa2060f09474aeb9d8fe4c68dbeb54ac35 /Swift/QtUI/QtChatWindowFactory.cpp | |
parent | 0d6f71fadac786fb94302e8f5762e37f7e598e53 (diff) | |
download | swift-contrib-509c20d24b59e09e7aeb5045abebad8a370bb3ba.zip swift-contrib-509c20d24b59e09e7aeb5045abebad8a370bb3ba.tar.bz2 |
Experimental fix for stuff in background, chats coming to front when opened etc.
Diffstat (limited to 'Swift/QtUI/QtChatWindowFactory.cpp')
-rw-r--r-- | Swift/QtUI/QtChatWindowFactory.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindowFactory.cpp b/Swift/QtUI/QtChatWindowFactory.cpp index 47c943f..b3efeac 100644 --- a/Swift/QtUI/QtChatWindowFactory.cpp +++ b/Swift/QtUI/QtChatWindowFactory.cpp @@ -17,7 +17,10 @@ QtChatWindowFactory::QtChatWindowFactory(QtTreeWidgetFactory *treeWidgetFactory, ChatWindow* QtChatWindowFactory::createChatWindow(const JID &contact) { QtChatWindow *chatWindow = new QtChatWindow(P2QSTRING(contact.toString()), treeWidgetFactory_); tabs_->addTab(chatWindow); - tabs_->show(); + if (!tabs_->isVisible()) { + tabs_->showMinimized(); + //tabs_->minimise(); + } //chatWindow->show(); return chatWindow; } |