1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-08-15 20:22:26 -04:00

Fix QML warning

This commit is contained in:
srcejon 2025-06-12 09:21:33 +01:00
parent 0e93251349
commit 89a25c8a7f

View File

@ -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) {