mobile: remove applyGpsData interface

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-09-11 16:43:53 -07:00
parent 0b8c8599c1
commit 094a3b01c8
2 changed files with 0 additions and 11 deletions

View file

@ -1634,16 +1634,6 @@ int QMLManager::addDive()
return diveId; 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) void QMLManager::deleteGpsFix(quint64 when)
{ {
GpsLocation::instance()->deleteGpsFix(when); GpsLocation::instance()->deleteGpsFix(when);

View file

@ -213,7 +213,6 @@ public slots:
void undo(); void undo();
void redo(); void redo();
int addDive(); int addDive();
void applyGpsData();
void cancelDownloadDC(); void cancelDownloadDC();
QString getCombinedLogs(); QString getCombinedLogs();
void copyAppLogToClipboard(); void copyAppLogToClipboard();