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();