fix QML mouse parameter deprecation warning

onClicked needs explicit function(mouse) parameter instead of
implicit injection.
This commit is contained in:
Levi Neely 2026-08-01 17:06:09 +02:00
parent 3d4e50a386
commit 0706a052f4
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ ApplicationWindow {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
hoverEnabled: false
onClicked: {
onClicked: function(mouse) {
if (mouse.button === Qt.RightButton) {
if (type === "session") {
sessionCtxMenu.popup()