aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp9
-rw-r--r--mobile-widgets/qmlmanager.h1
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();