mobile: remove GpsLocation reference from qmlmanager

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-09-11 16:57:47 -07:00
parent 5bc99194da
commit 105b60389c

View file

@ -293,11 +293,6 @@ QMLManager::QMLManager() :
connect(&btDiscovery->localBtDevice, &QBluetoothLocalDevice::hostModeStateChanged, connect(&btDiscovery->localBtDevice, &QBluetoothLocalDevice::hostModeStateChanged,
this, &QMLManager::btHostModeChange); this, &QMLManager::btHostModeChange);
} }
// add log call back to the location manager service singleton
GpsLocation::instance()->setLogCallBack(&appendTextToLogStandalone);
progress_callback = &progressCallback;
connect(GpsLocation::instance(), &GpsLocation::haveSourceChanged, this, &QMLManager::hasLocationSourceChanged);
setLocationServiceAvailable(GpsLocation::instance()->hasLocationsSource());
set_git_update_cb(&gitProgressCB); set_git_update_cb(&gitProgressCB);
// present dive site lists sorted by name // present dive site lists sorted by name