mobile: replace locationProvider with calls to GpsLocation::instance()

This makes it more obvious what we are doing. And won't make any difference
from a performance perspective.

Also converted the last call to connect using the old syntax to the new syntax.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-01-01 15:03:48 -08:00
parent 5048a695aa
commit c6f134a9b1
2 changed files with 14 additions and 16 deletions

View file

@ -254,7 +254,6 @@ private:
bool m_verboseEnabled;
bool m_diveListProcessing;
bool m_initialized;
GpsLocation *locationProvider;
bool m_loadFromCloud;
static QMLManager *m_instance;
QString m_notificationText;