since "linux has no tray" (wayland at least) don't show tray on linux
This commit is contained in:
parent
1336536387
commit
8c063f22c2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue