summaryrefslogtreecommitdiffstats
path: root/core/gpslocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/gpslocation.cpp')
-rw-r--r--core/gpslocation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp
index ccf183adc..95b2bebbc 100644
--- a/core/gpslocation.cpp
+++ b/core/gpslocation.cpp
@@ -446,12 +446,14 @@ void GpsLocation::deleteGpsFix(qint64 when)
m_deletedTrackers.append(deletedTracker);
}
+#ifdef SUBSURFACE_MOBILE
void GpsLocation::clearGpsData()
{
m_trackers.clear();
geoSettings->clear();
geoSettings->sync();
}
+#endif
void GpsLocation::postError(QNetworkReply::NetworkError error)
{