Location service: restructure the way GpsSource is managed

It makes much more sense to have this as a private member of the class instead
of a static in one of the functions.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-01-01 17:19:28 -08:00
parent 87fc84a5ee
commit a611bb22f7
2 changed files with 14 additions and 12 deletions

View file

@ -24,6 +24,7 @@ public:
private:
QGeoPositionInfo lastPos;
QGeoPositionInfoSource *getGpsSource();
QGeoPositionInfoSource *m_GpsSource;
void status(QString msg);
QSettings *geoSettings;
QNetworkReply *reply;