diff options
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/Mpris.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml index 81a9bc8..a2895aa 100644 --- a/bar/Mpris.qml +++ b/bar/Mpris.qml @@ -77,9 +77,8 @@ Item { MouseArea { anchors.fill: parent acceptedButtons: Qt.MiddleButton | Qt.RightButton - onClicked: { + onClicked: mouse => { if (mouse.button === Qt.MiddleButton) { - console.log("Middle button clicked"); root.activePlayer?.togglePlaying(); } else if (mouse.button === Qt.RightButton) { root.activePlayer?.next(); |
