aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/gpslocation.cpp2
-rw-r--r--core/gpslocation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp
index 76a4c718f..27a5d90de 100644
--- a/core/gpslocation.cpp
+++ b/core/gpslocation.cpp
@@ -39,7 +39,7 @@ GpsLocation::GpsLocation(void (*showMsgCB)(const char *), QObject *parent) :
loadFromStorage();
// register changes in time threshold
- connect(qPrefLocationService::instance(), SIGNAL(qPrefLocationService::time_thresholdChanged()), this, SLOT(setGpsTimeThreshold(int seconds)));
+ connect(qPrefLocationService::instance(), SIGNAL(time_thresholdChanged(int)), this, SLOT(setGpsTimeThreshold(int)));
}
GpsLocation *GpsLocation::instance()
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