1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-12 18:58:48 -04:00

Fix parameter injection warning. #2203

This commit is contained in:
srcejon
2025-06-10 15:52:09 +01:00
parent 0a3a455937
commit 9864650d9a
@@ -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) {