mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
TrayMenu: cleanup
This commit is contained in:
@@ -103,7 +103,6 @@ PopupWindow {
|
||||
return
|
||||
}
|
||||
|
||||
// IMPORTANT: Set the menu BEFORE loading items
|
||||
if (!isSubMenu && trayItem && trayItem.menu) {
|
||||
menu = trayItem.menu
|
||||
}
|
||||
@@ -148,11 +147,6 @@ PopupWindow {
|
||||
hoverEnabled: true
|
||||
}
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
Keys.onEscapePressed: root.hideMenu()
|
||||
}
|
||||
|
||||
QsMenuOpener {
|
||||
id: opener
|
||||
menu: root.menu
|
||||
|
||||
Reference in New Issue
Block a user