summaryrefslogtreecommitdiff
path: root/tests/manual/mapobjects_tester/main.qml
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-09-16 16:30:18 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-09-22 18:09:12 +0200
commit1ca6c7522bbd6ee9ea711e17f98d8c96c8e8c45a (patch)
tree26befb29bff72f368636131634ef1fb61f8200fc /tests/manual/mapobjects_tester/main.qml
parent359a2b2be21d3a8b209c1a7953675a5e2d002f5b (diff)
downloadqtlocation-1ca6c7522bbd6ee9ea711e17f98d8c96c8e8c45a.tar.gz
Fix warning in manual tests
... and fix usability for rotation testing. Nice to get back to 0 again! Change-Id: I9985721b0af993ff19d0808c29ac7ab617d3559a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/manual/mapobjects_tester/main.qml')
-rw-r--r--tests/manual/mapobjects_tester/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/mapobjects_tester/main.qml b/tests/manual/mapobjects_tester/main.qml
index 1e758ace..3651a382 100644
--- a/tests/manual/mapobjects_tester/main.qml
+++ b/tests/manual/mapobjects_tester/main.qml
@@ -49,7 +49,7 @@ Window {
Shortcut {
sequence: "Ctrl+R"
onActivated: {
- rotation = 57
+ rotation += 30
}
}
@@ -107,7 +107,7 @@ Window {
MouseArea {
anchors.fill: parent
- onClicked: {
+ onClicked: (mouse) => {
mouse.accepted = false
var crd = map.toCoordinate(Qt.point(mouse.x, mouse.y))
var s = crd.toString(0)