From 9864650d9a76fcbf3210cb6cfdc79f25c6a96b8f Mon Sep 17 00:00:00 2001 From: srcejon Date: Tue, 10 Jun 2025 15:52:09 +0100 Subject: [PATCH] Fix parameter injection warning. #2203 --- plugins/channelrx/demodadsb/map/map_6_strict.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/channelrx/demodadsb/map/map_6_strict.qml b/plugins/channelrx/demodadsb/map/map_6_strict.qml index e37cf48ce..babb134ca 100644 --- a/plugins/channelrx/demodadsb/map/map_6_strict.qml +++ b/plugins/channelrx/demodadsb/map/map_6_strict.qml @@ -64,7 +64,7 @@ Item { MouseArea { anchors.fill: parent propagateComposedEvents: true - onClicked: { + onClicked: (mouse) => { // Unhighlight current aircraft guiPtr.clearHighlighted() mouse.accepted = false @@ -273,7 +273,7 @@ Item { MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button === Qt.LeftButton) { highlighted = true console.log("z=" + aircraft.sourceItem.z) @@ -322,7 +322,7 @@ Item { MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button === Qt.LeftButton) { showAll = !showAll } else if (mouse.button === Qt.RightButton) {