summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-06 20:16:57 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-06 20:37:15 (GMT)
commitf3e75e58e57e5a49a79da8a88d25f17c784812b6 (patch)
treee8e4857049212367441b4469937631cbe61f1178 /Swift/QtUI/QtChatWindowFactory.cpp
parent725c4e1ad0710606421f9705d994688116a9fc1f (diff)
downloadswift-f3e75e58e57e5a49a79da8a88d25f17c784812b6.zip
swift-f3e75e58e57e5a49a79da8a88d25f17c784812b6.tar.bz2
Don't minimise+restore new chats that want focus on OS X.
Resolves: 217
Diffstat (limited to 'Swift/QtUI/QtChatWindowFactory.cpp')
-rw-r--r--Swift/QtUI/QtChatWindowFactory.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Swift/QtUI/QtChatWindowFactory.cpp b/Swift/QtUI/QtChatWindowFactory.cpp
index ff927c9..ba1719e 100644
--- a/Swift/QtUI/QtChatWindowFactory.cpp
+++ b/Swift/QtUI/QtChatWindowFactory.cpp
@@ -26,10 +26,6 @@ QtChatWindowFactory::QtChatWindowFactory(QtTreeWidgetFactory *treeWidgetFactory,
ChatWindow* QtChatWindowFactory::createChatWindow(const JID &contact) {
QtChatWindow *chatWindow = new QtChatWindow(P2QSTRING(contact.toString()), treeWidgetFactory_);
tabs_->addTab(chatWindow);
- if (!tabs_->isVisible()) {
- tabs_->showMinimized();
- //tabs_->minimise();
- }
//chatWindow->show();
return chatWindow;
}