diff options
Diffstat (limited to 'modules/bar/components/TrayItem.qml')
| -rw-r--r-- | modules/bar/components/TrayItem.qml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml index 6618895..2c8fa63 100644 --- a/modules/bar/components/TrayItem.qml +++ b/modules/bar/components/TrayItem.qml @@ -19,16 +19,8 @@ MouseArea { onClicked: event => { if (event.button === Qt.LeftButton) modelData.activate(); - else if (modelData.hasMenu) - menu.open(); - } - - // TODO custom menu - QsMenuAnchor { - id: menu - - menu: root.modelData.menu - anchor.window: this.QsWindow.window + else + modelData.secondaryActivate(); } IconImage { |