Commit 628cf98e authored by Qt Forward Merge Bot's avatar Qt Forward Merge Bot
Browse files

Merge remote-tracking branch 'origin/5.12.2' into 5.12

Change-Id: I2d9e5f32cc238b9d2276ff85f12946a54bee2263
Showing with 3 additions and 3 deletions
...@@ -147,9 +147,9 @@ Item { ...@@ -147,9 +147,9 @@ Item {
function test_map_toCoordinate() function test_map_toCoordinate()
{ {
map_no_plugin.center = coordinate map_no_plugin.center = coordinate
compare(map_no_plugin.toCoordinate(50,50).isValid,false) compare(map_no_plugin.toCoordinate(Qt.point(50,50)).isValid,false)
map_error_plugin.center = coordinate map_error_plugin.center = coordinate
compare(map_error_plugin.toCoordinate(50,50).isValid,false) compare(map_error_plugin.toCoordinate(Qt.point(50,50)).isValid,false)
} }
function test_map_fromCoordinate() function test_map_fromCoordinate()
......
...@@ -443,7 +443,7 @@ Item { ...@@ -443,7 +443,7 @@ Item {
map.center = preMapCircle.center map.center = preMapCircle.center
verify(LocationTestHelper.waitForPolished(map)) verify(LocationTestHelper.waitForPolished(map))
point = map.fromCoordinate(preMapCircle.center) point = map.fromCoordinate(preMapCircle.center)
targetCoordinate = map.toCoordinate(51, 51) targetCoordinate = map.toCoordinate(Qt.point(51, 51))
mousePress(map, point.x, point.y) mousePress(map, point.x, point.y)
for (i = 0; i < 50; i += 1) { for (i = 0; i < 50; i += 1) {
wait(1) wait(1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment