diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-09-11 14:41:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-09-13 11:21:34 -0700 |
commit | bea552bf0d69e73be9a223369c72bcc122ddff08 (patch) | |
tree | 46d05ad06ceeb6fcb99cb67c10285a601c564776 /mobile-widgets | |
parent | edf4fbd38afb6397bdee393dbf75acc317989be8 (diff) | |
download | subsurface-bea552bf0d69e73be9a223369c72bcc122ddff08.tar.gz |
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 9 | ||||
-rw-r--r-- | mobile-widgets/qmlmanager.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index ee70679d5..31bf438d8 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -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 diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index f20856a8e..0f2db2e7a 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -214,7 +214,6 @@ public slots: void redo(); int addDive(); void applyGpsData(); - void populateGpsData(); void cancelDownloadDC(); void clearGpsData(); QString getCombinedLogs(); |