diff options
Diffstat (limited to 'gui/qml')
-rw-r--r-- | gui/qml/main.qml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml index 4bd87ba..adf11bd 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -141,10 +141,20 @@ ApplicationWindow { // left and right click seem to be working fine, so let's ignore this for now. switch (reason) { case SystemTrayIcon.Unknown: - break + console.debug("reason: unknown") + menu.open() + break case SystemTrayIcon.Context: + console.debug("activated: context") + if (Qt.platform.os !== "linux") { + menu.open() + } break case SystemTrayIcon.DoubleClick: + console.debug("activated: double click") + if (Qt.platform.os !== "linux") { + menu.open() + } break case SystemTrayIcon.Trigger: break |