diff options
-rw-r--r-- | gui/qml/main.qml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml index 9ce5800..b9468b5 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -168,9 +168,11 @@ ApplicationWindow { console.debug("systray init completed") hide(); if (systrayVisible) { - let appname: ctx ? ctx.appName: "VPN" show(); - showNotification(appname + " is up and running. Please use system tray icon to control it."); + if (Qt.platform.os === "windows") { + let appname: ctx ? ctx.appName: "VPN" + showNotification(appname + " is up and running. Please use system tray icon to control it."); + } } } @@ -192,7 +194,7 @@ ApplicationWindow { StateGroup { id: vpn state: ctx ? ctx.status : "" - + states: [ State { name: "initializing" }, State { |