mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
cd7d6ae6e5
commit
62f7ec11d7
4 changed files with 22 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue