aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-11 16:43:53 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-13 11:21:34 -0700
commit094a3b01c8d69a3fad902ac58792ad91a3b973c8 (patch)
tree0864f6e89e8704dc610c963d24c92c5722ca2307
parent0b8c8599c1ad20b977db8a1e5bb965af0e7d4a58 (diff)
downloadsubsurface-094a3b01c8d69a3fad902ac58792ad91a3b973c8.tar.gz
mobile: remove applyGpsData interface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp10
-rw-r--r--mobile-widgets/qmlmanager.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 8ee5d8353..e218f280c 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1634,16 +1634,6 @@ int QMLManager::addDive()
return diveId;
}
-void QMLManager::applyGpsData()
-{
- appendTextToLog("Applying GPS fiexs");
- std::vector<DiveAndLocation> fixes = GpsLocation::instance()->getLocations();
- Command::applyGPSFixes(fixes);
- appendTextToLog(QString("Attached %1 GPS fixes").arg(fixes.size()));
- if (fixes.size())
- changesNeedSaving();
-}
-
void QMLManager::deleteGpsFix(quint64 when)
{
GpsLocation::instance()->deleteGpsFix(when);
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 6210750af..24f406f87 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -213,7 +213,6 @@ public slots:
void undo();
void redo();
int addDive();
- void applyGpsData();
void cancelDownloadDC();
QString getCombinedLogs();
void copyAppLogToClipboard();