summaryrefslogtreecommitdiff
path: root/tests/auto/declarative_ui/tst_map_error.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative_ui/tst_map_error.qml')
-rw-r--r--tests/auto/declarative_ui/tst_map_error.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative_ui/tst_map_error.qml b/tests/auto/declarative_ui/tst_map_error.qml
index 35613f63..a5e122f0 100644
--- a/tests/auto/declarative_ui/tst_map_error.qml
+++ b/tests/auto/declarative_ui/tst_map_error.qml
@@ -147,9 +147,9 @@ Item {
function test_map_toCoordinate()
{
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
- compare(map_error_plugin.toCoordinate(50,50).isValid,false)
+ compare(map_error_plugin.toCoordinate(Qt.point(50,50)).isValid,false)
}
function test_map_fromCoordinate()