summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-12 19:26:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-12 19:26:54 (GMT)
commit683e1c1079cf3e288b3f87faf83188c2f83464b3 (patch)
tree63a4f7377319763b336f22202230b97ba2a20e5b
parent4644d6f1ae5136644b4c68bf70a8dcf6df63bece (diff)
downloadswift-contrib-683e1c1079cf3e288b3f87faf83188c2f83464b3.zip
swift-contrib-683e1c1079cf3e288b3f87faf83188c2f83464b3.tar.bz2
Revert "Don't hide/show when clicking system tray on Mac."
This reverts commit 4644d6f1ae5136644b4c68bf70a8dcf6df63bece.
-rw-r--r--Swift/QtUI/QtSystemTray.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Swift/QtUI/QtSystemTray.cpp b/Swift/QtUI/QtSystemTray.cpp
index d75e180..d6180e6 100644
--- a/Swift/QtUI/QtSystemTray.cpp
+++ b/Swift/QtUI/QtSystemTray.cpp
@@ -38,9 +38,7 @@ void QtSystemTray::setConnecting() {
void QtSystemTray::handleIconActivated(QSystemTrayIcon::ActivationReason reason) {
if (reason == QSystemTrayIcon::Trigger) {
-#ifndef Q_WS_MAC
emit clicked();
-#endif
}
}
void QtSystemTray::setStatusType(StatusShow::Type type) {