From 89a25c8a7f309cb5a97846da26649ce2f5eeab86 Mon Sep 17 00:00:00 2001 From: srcejon Date: Thu, 12 Jun 2025 09:21:33 +0100 Subject: [PATCH] Fix QML warning --- plugins/feature/map/map/map_6.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/feature/map/map/map_6.qml b/plugins/feature/map/map/map_6.qml index 08145323d..a39abe705 100644 --- a/plugins/feature/map/map/map_6.qml +++ b/plugins/feature/map/map/map_6.qml @@ -275,7 +275,7 @@ Item { anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button === Qt.LeftButton) { selected = !selected if (selected) { @@ -320,7 +320,7 @@ Item { anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button === Qt.LeftButton) { selected = !selected if (selected) {