From 7547e90b417764285bea511d3b566dd2582590c1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 28 Sep 2020 11:28:40 -0700 Subject: gps: remove unused member function Signed-off-by: Dirk Hohndel --- core/gpslocation.cpp | 5 ----- core/gpslocation.h | 1 - 2 files changed, 6 deletions(-) (limited to 'core') 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(); -- cgit v1.2.3-70-g09d2