mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
87fc84a5ee
commit
a611bb22f7
2 changed files with 14 additions and 12 deletions
|
|
@ -24,6 +24,7 @@ public:
|
|||
private:
|
||||
QGeoPositionInfo lastPos;
|
||||
QGeoPositionInfoSource *getGpsSource();
|
||||
QGeoPositionInfoSource *m_GpsSource;
|
||||
void status(QString msg);
|
||||
QSettings *geoSettings;
|
||||
QNetworkReply *reply;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue