diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-12 19:01:12 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-12 19:01:12 (GMT) |
commit | 4644d6f1ae5136644b4c68bf70a8dcf6df63bece (patch) | |
tree | f501fcf37bfa30503acb0113b738f3400db2bca8 /Swift | |
parent | 2a22744ffcea2505b8a0951d4a0791891b99158b (diff) | |
download | swift-4644d6f1ae5136644b4c68bf70a8dcf6df63bece.zip swift-4644d6f1ae5136644b4c68bf70a8dcf6df63bece.tar.bz2 |
Don't hide/show when clicking system tray on Mac.
Resolves: #323
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtSystemTray.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSystemTray.cpp b/Swift/QtUI/QtSystemTray.cpp index d6180e6..d75e180 100644 --- a/Swift/QtUI/QtSystemTray.cpp +++ b/Swift/QtUI/QtSystemTray.cpp @@ -38,7 +38,9 @@ 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) { |