diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-09-28 11:28:40 -0700 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-09-29 16:25:44 +0200 |
commit | 7547e90b417764285bea511d3b566dd2582590c1 (patch) | |
tree | 2ef0cd887e8e80647e2a1ee0336197e3b3dd7bf5 /core | |
parent | 2a3a58a3c78a3691305d7ef99dd302e9dba9361c (diff) | |
download | subsurface-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.cpp | 5 | ||||
-rw-r--r-- | core/gpslocation.h | 1 |
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(); |