diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 15:19:09 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-11 15:28:10 -0800 |
commit | 62f7ec11d72aeb4edbf4d6063ed3059912c7545a (patch) | |
tree | ce80e830b90477cb9b3a4e13af2d6dfce268c42f /qt-mobile/qmlmanager.cpp | |
parent | cd7d6ae6e51a8422a141fc389b2eca232b7e93c5 (diff) | |
download | subsurface-62f7ec11d72aeb4edbf4d6063ed3059912c7545a.tar.gz |
Location service: store locations in settings
This is rather simplistic and will clutter the settings. I'm not convinced
this is the BEST way to do this, but it's a rather straight forward way to
get persistant storage of the location fixes.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 1f2dd4c98..ad8f1e259 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -15,11 +15,11 @@ void qmlUiShowMessage(const char *errorString) qDebug() << "couldn't set property messageText to" << errorString; } -QMLManager::QMLManager() +QMLManager::QMLManager() : + m_locationServiceEnabled(false) { // create location manager service locationProvider = new GpsLocation(this); - setLocationServiceEnabled(false); // Initialize cloud credentials. setCloudUserName(prefs.cloud_storage_email); |