summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtChatTabs.cpp')
-rw-r--r--Swift/QtUI/QtChatTabs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index e79b2ef..e73ddab 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -57,7 +57,7 @@ void QtChatTabs::handleWantsToActivate() {
Q_ASSERT(widget);
Q_ASSERT(tabs_->indexOf(widget) >= 0);
//Un-minimize and bring to front.
- setWindowState(windowState() & ~Qt::WindowMinimized | Qt::WindowActive);
+ setWindowState((windowState() & ~Qt::WindowMinimized) | Qt::WindowActive);
tabs_->setCurrentWidget(widget);
}