summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-28 11:28:40 -0700
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2020-09-29 16:25:44 +0200
commit7547e90b417764285bea511d3b566dd2582590c1 (patch)
tree2ef0cd887e8e80647e2a1ee0336197e3b3dd7bf5 /core
parent2a3a58a3c78a3691305d7ef99dd302e9dba9361c (diff)
downloadsubsurface-7547e90b417764285bea511d3b566dd2582590c1.tar.gz
gps: remove unused member function
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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();