diff --git a/gui/qml/main.qml b/gui/qml/main.qml index 9ce5800ff64abe0059d19847cf73162e9104ba4d..b9468b56fccc63728d033292d987721b9aa5c5ec 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 {