mirror of
https://github.com/oxen-io/lokinet-control-panel.git
synced 2023-12-14 05:53:00 +01:00
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: {
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue