mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: remove GpsListModel
This is only needed to show the list of GPS fixes obtained with the now removed location service. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
edf4fbd38a
commit
bea552bf0d
8 changed files with 0 additions and 126 deletions
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include <QBluetoothLocalDevice>
|
||||
|
||||
#include "qt-models/gpslistmodel.h"
|
||||
#include "qt-models/completionmodels.h"
|
||||
#include "qt-models/messagehandlermodel.h"
|
||||
#include "qt-models/tankinfomodel.h"
|
||||
|
@ -1684,22 +1683,14 @@ void QMLManager::applyGpsData()
|
|||
changesNeedSaving();
|
||||
}
|
||||
|
||||
void QMLManager::populateGpsData()
|
||||
{
|
||||
if (GpsListModel::instance())
|
||||
GpsListModel::instance()->update();
|
||||
}
|
||||
|
||||
void QMLManager::clearGpsData()
|
||||
{
|
||||
GpsLocation::instance()->clearGpsData();
|
||||
populateGpsData();
|
||||
}
|
||||
|
||||
void QMLManager::deleteGpsFix(quint64 when)
|
||||
{
|
||||
GpsLocation::instance()->deleteGpsFix(when);
|
||||
populateGpsData();
|
||||
}
|
||||
|
||||
QString QMLManager::logText() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue