diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 12:32:54 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 12:38:23 -0800 |
commit | a29e74e2e949696c4ffdefeedad22ae1795f024c (patch) | |
tree | cd40641c9adb085682ccc3f9808b5ed5af1a38bf /qt-mobile/gpslocation.cpp | |
parent | e7b2f04bec19c70bff2324b43c337728f2420aca (diff) | |
download | subsurface-a29e74e2e949696c4ffdefeedad22ae1795f024c.tar.gz |
Location service: move location provider into QML manager
Since we want to be able to toggle it from the QML UI that seems like a
better place for it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/gpslocation.cpp')
-rw-r--r-- | qt-mobile/gpslocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/gpslocation.cpp b/qt-mobile/gpslocation.cpp index 0108fdc0d..fea313950 100644 --- a/qt-mobile/gpslocation.cpp +++ b/qt-mobile/gpslocation.cpp @@ -5,7 +5,7 @@ GpsLocation::GpsLocation(QObject *parent) { - QGeoPositionInfoSource *gpsSource = QGeoPositionInfoSource::createDefaultSource(parent); + gpsSource = QGeoPositionInfoSource::createDefaultSource(parent); if (gpsSource != 0) { QString msg = QString("have position source %1").arg(gpsSource->sourceName()); connect(gpsSource, SIGNAL(positionUpdated(QGeoPositionInfo)), this, SLOT(newPosition(QGeoPositionInfo))); |