mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Subsurface-mobile: don't create the GPS source until it is needed
This should accelerate the startup of the UI a little more. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f6ae8bf3ea
commit
2311bc2378
2 changed files with 24 additions and 10 deletions
|
@ -21,7 +21,7 @@ public:
|
|||
|
||||
private:
|
||||
QGeoPositionInfo lastPos;
|
||||
QGeoPositionInfoSource *gpsSource;
|
||||
QGeoPositionInfoSource *getGpsSource();
|
||||
void status(QString msg);
|
||||
QSettings *geoSettings;
|
||||
QNetworkReply *reply;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue