diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 18:10:58 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 18:10:58 -0800 |
commit | 0b804e5b215f94a924f0d516da25dc46a81e710d (patch) | |
tree | cc6adcefb06854dd421e498486ab3da76510a581 /qt-mobile/qmlmanager.cpp | |
parent | d70f85ce35c95115438fecd26c70dc08ae4a3dbb (diff) | |
download | subsurface-0b804e5b215f94a924f0d516da25dc46a81e710d.tar.gz |
Location service: make message delivery configurable
Instead of directly using the status output for the QML UI, set up the
function used to display messages to the user as part of the constructor.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index da6b01b1c..82ecc847a 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -19,7 +19,7 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false) { // create location manager service - locationProvider = new GpsLocation(this); + locationProvider = new GpsLocation(&qmlUiShowMessage, this); // Initialize cloud credentials. setCloudUserName(prefs.cloud_storage_email); |