mobile: remove applyGpsData interface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0b8c8599c1
commit
094a3b01c8
@ -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);
|
||||
|
||||
@ -213,7 +213,6 @@ public slots:
|
||||
void undo();
|
||||
void redo();
|
||||
int addDive();
|
||||
void applyGpsData();
|
||||
void cancelDownloadDC();
|
||||
QString getCombinedLogs();
|
||||
void copyAppLogToClipboard();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user