summaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-30 10:58:18 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-30 10:58:18 -0800
commit2311bc23787c12b5ce6abe0c995fc23f8d2ddce1 (patch)
tree2da30ea21bf8cc9d3c8e60f8d44a048df9cf4da3 /subsurface-core/gpslocation.h
parentf6ae8bf3ea6fee354bd4298fd0ebadd91fb0d36e (diff)
downloadsubsurface-2311bc23787c12b5ce6abe0c995fc23f8d2ddce1.tar.gz
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>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r--subsurface-core/gpslocation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h
index 8796b3100..e0e825cb1 100644
--- a/subsurface-core/gpslocation.h
+++ b/subsurface-core/gpslocation.h
@@ -21,7 +21,7 @@ public:
private:
QGeoPositionInfo lastPos;
- QGeoPositionInfoSource *gpsSource;
+ QGeoPositionInfoSource *getGpsSource();
void status(QString msg);
QSettings *geoSettings;
QNetworkReply *reply;