From 094a3b01c8d69a3fad902ac58792ad91a3b973c8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 11 Sep 2021 16:43:53 -0700 Subject: mobile: remove applyGpsData interface Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 10 ---------- mobile-widgets/qmlmanager.h | 1 - 2 files changed, 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 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(); -- cgit v1.2.3-70-g09d2