mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d70f85ce35
commit
0b804e5b21
3 changed files with 7 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue