Fix system tray not working

This commit is contained in:
Carl Schwan
2020-11-22 11:44:32 +01:00
parent 7622b89bdd
commit 816fc0aa25

View File

@@ -81,12 +81,18 @@ Kirigami.ApplicationWindow {
}
}
function showWindow() {
root.show()
root.raise()
root.requestActivate()
}
TrayIcon {
id: trayIcon
visible: true
iconSource: ":/assets/img/icon.png"
isOnline: true
onShowWindow: window.showWindow()
onShowWindow: root.showWindow()
}
contextDrawer: RoomDrawer {