From 4644d6f1ae5136644b4c68bf70a8dcf6df63bece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sun, 12 Dec 2010 20:01:12 +0100 Subject: Don't hide/show when clicking system tray on Mac. Resolves: #323 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) { -- cgit v0.10.2-6-g49f6