mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-06-17 05:52:29 -04:00
Fix parameter injection warning. #2203
This commit is contained in:
parent
0a3a455937
commit
9864650d9a
@ -64,7 +64,7 @@ Item {
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
propagateComposedEvents: true
|
propagateComposedEvents: true
|
||||||
onClicked: {
|
onClicked: (mouse) => {
|
||||||
// Unhighlight current aircraft
|
// Unhighlight current aircraft
|
||||||
guiPtr.clearHighlighted()
|
guiPtr.clearHighlighted()
|
||||||
mouse.accepted = false
|
mouse.accepted = false
|
||||||
@ -273,7 +273,7 @@ Item {
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onClicked: {
|
onClicked: (mouse) => {
|
||||||
if (mouse.button === Qt.LeftButton) {
|
if (mouse.button === Qt.LeftButton) {
|
||||||
highlighted = true
|
highlighted = true
|
||||||
console.log("z=" + aircraft.sourceItem.z)
|
console.log("z=" + aircraft.sourceItem.z)
|
||||||
@ -322,7 +322,7 @@ Item {
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onClicked: {
|
onClicked: (mouse) => {
|
||||||
if (mouse.button === Qt.LeftButton) {
|
if (mouse.button === Qt.LeftButton) {
|
||||||
showAll = !showAll
|
showAll = !showAll
|
||||||
} else if (mouse.button === Qt.RightButton) {
|
} else if (mouse.button === Qt.RightButton) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user