summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 15:19:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 15:28:10 -0800
commit62f7ec11d72aeb4edbf4d6063ed3059912c7545a (patch)
treece80e830b90477cb9b3a4e13af2d6dfce268c42f /qt-mobile/qml
parentcd7d6ae6e51a8422a141fc389b2eca232b7e93c5 (diff)
downloadsubsurface-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/qml')
-rw-r--r--qt-mobile/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 2a4b8f432..bbb0806da 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -74,7 +74,7 @@ ApplicationWindow {
checkable: true
checked: manager.locationServiceEnabled
onToggled: {
- manager.setLocationServiceEnabled(checked);
+ manager.locationServiceEnabled = checked;
}
}