diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-20 22:03:09 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-10 16:45:42 +0100 |
commit | 0bb1a82127cd2510a8339ab4a23a42bb06e64590 (patch) | |
tree | dc80b8b0f7a4e692b8a236dbb0b114dc39fd0bea /core/gpslocation.cpp | |
parent | 53221ffd8e5f70ef82b6cd01d54a51a5bf194c8d (diff) | |
download | subsurface-0bb1a82127cd2510a8339ab4a23a42bb06e64590.tar.gz |
GpsLocation::clearGpsData() is only used in SUBSURFACE_MOBILE
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/gpslocation.cpp')
-rw-r--r-- | core/gpslocation.cpp | 2 |
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) { |