From 0706a052f4ea7e97ccf883269acab51dd8b6cdc7 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sat, 1 Aug 2026 17:06:09 +0200 Subject: [PATCH] fix QML mouse parameter deprecation warning onClicked needs explicit function(mouse) parameter instead of implicit injection. --- gui/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/main.qml b/gui/main.qml index 9b526c2..76b6001 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -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()