summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-07-23 09:38:40 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-23 23:47:22 +0900
commitd51fe03bd9195380aeec031a6e45eda5f44404f0 (patch)
tree28297346ed0feb262a3a55ee5a93a4ba04c6c26c /mobile-widgets/qmlmanager.cpp
parent3b3f6b67f570c44609dba3690ee958b05e10933a (diff)
downloadsubsurface-d51fe03bd9195380aeec031a6e45eda5f44404f0.tar.gz
QML UI: move location services to GPS menu
Move the location services switch to the GPS menu, indicate both with icon and text if the service is active or not. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 3612fb73c..eec2c00ac 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1213,6 +1213,7 @@ void QMLManager::setLocationServiceEnabled(bool locationServiceEnabled)
{
m_locationServiceEnabled = locationServiceEnabled;
locationProvider->serviceEnable(m_locationServiceEnabled);
+ emit locationServiceEnabledChanged();
}
bool QMLManager::locationServiceAvailable() const