mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-06-14 04:22:28 -04:00
Fix parameter injection warning. #2203
This commit is contained in:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user