diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml index 66188957..2c8fa639 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 {