From a29e74e2e949696c4ffdefeedad22ae1795f024c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 11 Nov 2015 12:32:54 -0800 Subject: Location service: move location provider into QML manager Since we want to be able to toggle it from the QML UI that seems like a better place for it. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qt-mobile/qmlmanager.cpp') diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index e0c621542..3459175f2 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -17,7 +17,10 @@ void qmlUiShowMessage(const char *errorString) QMLManager::QMLManager() { - //Initialize cloud credentials. + // create location manager service + locationProvider = new GpsLocation(this); + + // Initialize cloud credentials. setCloudUserName(prefs.cloud_storage_email); setCloudPassword(prefs.cloud_storage_password); setSaveCloudPassword(prefs.save_password_local); -- cgit v1.2.3-70-g09d2