summaryrefslogtreecommitdiff
path: root/tests/auto/qgeocodingmanagerplugins
diff options
context:
space:
mode:
authorjuhvu <qt-info@nokia.com>2011-08-15 15:54:41 +1000
committerDavid Laing <david.laing@nokia.com>2011-08-16 06:22:05 +0200
commit87c89ac76f735e4a81004bd6a47cee3886276f1c (patch)
treec16c94414e24bd0cb4e9d22fa8c3d5b6a12aa779 /tests/auto/qgeocodingmanagerplugins
parentb3de5479efeeca93af88057f2f9946c6abcd8bfd (diff)
downloadqtlocation-87c89ac76f735e4a81004bd6a47cee3886276f1c.tar.gz
Map object list and ability to clear map objects.
Change-Id: I826c3b4bf6feff9824f1e60adfad3bf4a49078f3 Reviewed-on: http://codereview.qt.nokia.com/2930 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: David Laing <david.laing@nokia.com>
Diffstat (limited to 'tests/auto/qgeocodingmanagerplugins')
-rw-r--r--tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h b/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h
index 171c2b12..ea08fb40 100644
--- a/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h
+++ b/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h
@@ -83,7 +83,7 @@ public:
Q_UNUSED(errorString)
setSupportsGeocoding(true);
setSupportsReverseGeocoding(true);
- setLocale(*(new QLocale (QLocale::German, QLocale::Germany)));
+ setLocale(QLocale(QLocale::German, QLocale::Germany));
}
QGeocodeReply* geocode ( const QString & searchString, int limit, int offset, QGeoBoundingArea * bounds )