summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSystemTray.cpp')
-rw-r--r--Swift/QtUI/QtSystemTray.cpp2
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) {