diff options
author | juhvu <qt-info@nokia.com> | 2011-08-11 15:02:29 +1000 |
---|---|---|
committer | abcd <qt_abcd1@ovi.com> | 2011-08-12 05:06:19 +0200 |
commit | 469170b584d14e045418a71b34fb648cc6f9b726 (patch) | |
tree | 05eca519008a620f109077838e8a6b2581e05b05 /src/imports/location/qdeclarativegeolocation.cpp | |
parent | 3f7102d1eef9f5070ecc0033415b057a966d9f0d (diff) | |
download | qtlocation-469170b584d14e045418a71b34fb648cc6f9b726.tar.gz |
Modified location QML tests to work in QML2 environment.
Also added freetext geocoding and a small feature for clearing
all featureWeights of a routing query.
Change-Id: Idfe5000bb335fc2825fc14108de154e6e86ba0ef
Reviewed-on: http://codereview.qt.nokia.com/2840
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: abcd <qt_abcd1@ovi.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeolocation.cpp')
-rw-r--r-- | src/imports/location/qdeclarativegeolocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeolocation.cpp b/src/imports/location/qdeclarativegeolocation.cpp index eb57a2d9..b174747e 100644 --- a/src/imports/location/qdeclarativegeolocation.cpp +++ b/src/imports/location/qdeclarativegeolocation.cpp @@ -22,10 +22,10 @@ QDeclarativeGeoLocation::QDeclarativeGeoLocation(QObject* parent) QDeclarativeGeoLocation::QDeclarativeGeoLocation(const QGeoLocation &src, QObject *parent) : QObject(parent), - m_src(src), m_address(src.address()), m_coordinate(src.coordinate()), - m_boundingBox(src.viewport()) + m_boundingBox(src.viewport()), + m_src(src) { } |