since "linux has no tray" (wayland at least) don't show tray on linux

This commit is contained in:
Jeff Becker 2020-11-25 13:04:17 -05:00
parent 1336536387
commit 8c063f22c2
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 7 additions and 4 deletions

View File

@ -27,11 +27,14 @@ ApplicationWindow {
}
}
/*
onClosing: {
window.exitApp();
if(platformDetails.isLinux())
{
window.exitApp();
}
}
*/
ControlPanel {
id: controlPanel
@ -93,7 +96,7 @@ ApplicationWindow {
SystemTrayIcon {
id: systray
tooltip: qsTr("Loki Network")
visible: true
visible: !platformDetails.isLinux()
iconSource: "qrc:/res/images/icon.svg"
menu: Menu {