Commit 1e635e63 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵 Committed by Nate Graham
Browse files

workaround not to have the system tray menu appear when it should not

BUG: 419145
parent 7dfeb927
......@@ -69,6 +69,7 @@ Item {
visible: available && showSystemTrayIcon && !mainWindow.visible
menu: NativeApplicationMenu {
id: exportedMenu
}
onActivated: {
......@@ -78,5 +79,10 @@ Item {
raisePlayer()
}
}
Component.onCompleted: {
exportedMenu.visible = false
exportedMenu.enabled = false
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment