summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-07-26 13:42:45 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2011-07-26 05:49:03 +0200
commit28f40d11cb6fb966d769062cbf6e6517b45913f6 (patch)
treeeff7edb2daa2bcc54be2d3820d972c6474bbd97d /tests
parented171eccc9fcc606e2f923ce5d394dbf195fb9e8 (diff)
downloadqtlocation-28f40d11cb6fb966d769062cbf6e6517b45913f6.tar.gz
Fix compile
Change-Id: I4a0aeabb8b4b4e8aaaa16c2802a95aa13fdde6a9 Reviewed-on: http://codereview.qt.nokia.com/2144 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qgeoplace/tst_qgeoplace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeoplace/tst_qgeoplace.cpp b/tests/auto/qgeoplace/tst_qgeoplace.cpp
index 3f5a4188..5df80b71 100644
--- a/tests/auto/qgeoplace/tst_qgeoplace.cpp
+++ b/tests/auto/qgeoplace/tst_qgeoplace.cpp
@@ -323,7 +323,7 @@ void tst_QGeoPlace::operatorsTest()
tags << "1" << "2" << "3";
testObj.setTags(tags);
QGeoLocation loc;
- loc.setLocationScore(10);
+ loc.setCoordinate(QGeoCoordinate(10,20));
testObj.setLocation(loc);
QGeoPlace testObj2;