summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2024-03-15 09:57:51 +0200
committerTomi Korpipaa <tomi.korpipaa@qt.io>2024-03-15 12:19:32 +0200
commit4d9b6807948d641d36ecdf1c1a2df7365c14f097 (patch)
treedf65bcf8738896c92d42157e29cf5ff8779ca254 /tests/manual
parentf8c0e248a21c5a43a6a118535daae860bfc8f728 (diff)
Fix overriding FINAL property
Pick-to: 6.7 Fixes: QTBUG-122209 Change-Id: I2492901edcf355772ee2524fcc3109a207105ab2 Reviewed-by: Chris René Lerner <chris.lerner@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
index 30b1087a..1d0e65bf 100644
--- a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
+++ b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
@@ -129,12 +129,12 @@ Item {
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
- property int mouseX: -1
- property int mouseY: -1
+ property int mouseXPos: -1
+ property int mouseYPos: -1
onPositionChanged: (mouse)=> {
- mouseX = mouse.x;
- mouseY = mouse.y;
+ mouseXPos = mouse.x;
+ mouseYPos = mouse.y;
}
onWheel: (wheel)=> {
@@ -161,7 +161,8 @@ Item {
running: true
repeat: true
onTriggered: {
- scatterGraph.scene.selectionQueryPosition = Qt.point(inputArea.mouseX, inputArea.mouseY);
+ scatterGraph.scene.selectionQueryPosition = Qt.point(inputArea.mouseXPos,
+ inputArea.mouseYPos);
}
}
}