summaryrefslogtreecommitdiffstats
path: root/core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-24 10:00:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-24 07:20:25 -0700
commitfc812ea130fbe71ce100af79787245bf0ed86bdf (patch)
tree874f32a7735ff8ff020ef483b0e392a6df5616bf /core/gpslocation.h
parentb45124d5541a5232a9dd0e06ee13ff3247d3aacf (diff)
downloadsubsurface-fc812ea130fbe71ce100af79787245bf0ed86bdf.tar.gz
core: fix connect call
Fix multiple run-time errors in connect call introduced in 504e9125126. 1) Set the proper signature of the signal. 2) make the used slot a real slot (so move it to the proper section in the header) and 3) set the proper signature for the slot. Highly unlikely that normal users notice the runtime errors and possibly unwantend behavior, as this all deals with the subtile GPS service update threshold. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/gpslocation.h')
-rw-r--r--core/gpslocation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gpslocation.h b/core/gpslocation.h
index f55e3bf9d..70bb17404 100644
--- a/core/gpslocation.h
+++ b/core/gpslocation.h
@@ -32,7 +32,6 @@ public:
int getGpsNum() const;
bool hasLocationsSource();
QString currentPosition();
- void setGpsTimeThreshold(int seconds);
QMap<qint64, gpsTracker> currentGPSInfo() const;
@@ -66,6 +65,7 @@ public slots:
void updateTimeout();
void positionSourceError(QGeoPositionInfoSource::Error error);
void postError(QNetworkReply::NetworkError error);
+ void setGpsTimeThreshold(int seconds);
#ifdef SUBSURFACE_MOBILE
void clearGpsData();
#endif