aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/gpslocation.cpp5
-rw-r--r--core/gpslocation.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp
index e7a4b5d8f..fd598683f 100644
--- a/core/gpslocation.cpp
+++ b/core/gpslocation.cpp
@@ -411,8 +411,3 @@ void GpsLocation::clearGpsData()
geoSettings->sync();
}
#endif
-
-void GpsLocation::postError(QNetworkReply::NetworkError)
-{
- status(QStringLiteral("error when sending a GPS fix: %1").arg(reply->errorString()));
-}
diff --git a/core/gpslocation.h b/core/gpslocation.h
index 4cc7f200c..d376c5ec7 100644
--- a/core/gpslocation.h
+++ b/core/gpslocation.h
@@ -69,7 +69,6 @@ public slots:
void newPosition(QGeoPositionInfo pos);
void updateTimeout();
void positionSourceError(QGeoPositionInfoSource::Error error);
- void postError(QNetworkReply::NetworkError error);
void setGpsTimeThreshold(int seconds);
#ifdef SUBSURFACE_MOBILE
void clearGpsData();