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>
This commit is contained in:
Joakim Bygdell 2017-07-23 09:38:40 +02:00 committed by Dirk Hohndel
parent 3b3f6b67f5
commit d51fe03bd9
3 changed files with 10 additions and 35 deletions

View file

@ -1213,6 +1213,7 @@ void QMLManager::setLocationServiceEnabled(bool locationServiceEnabled)
{
m_locationServiceEnabled = locationServiceEnabled;
locationProvider->serviceEnable(m_locationServiceEnabled);
emit locationServiceEnabledChanged();
}
bool QMLManager::locationServiceAvailable() const