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

View file

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