summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-15 07:41:37 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-09 12:41:57 -0700
commit0f390183e21095e29c75b60fb0f74d8f85d232cb (patch)
treeed909d6110ad4946582b07f6b8859e6a96cffaa2 /mobile-widgets
parent9fb52cc45c22191b26c4d1f8ce98e9d88a5bee83 (diff)
downloadsubsurface-0f390183e21095e29c75b60fb0f74d8f85d232cb.tar.gz
mobile/undo: remove deletedDive and deletedTrip from QMLManager
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp2
-rw-r--r--mobile-widgets/qmlmanager.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index aef961a49..f12f78895 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -148,8 +148,6 @@ void QMLManager::btRescan()
QMLManager::QMLManager() : m_locationServiceEnabled(false),
m_verboseEnabled(false),
- deletedDive(0),
- deletedTrip(0),
m_updateSelectedDive(-1),
m_selectedDiveTimestamp(0),
alreadySaving(false),
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index b1bdfd2b7..367faf325 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -243,8 +243,6 @@ private:
GpsLocation *locationProvider;
bool m_loadFromCloud;
static QMLManager *m_instance;
- struct dive *deletedDive;
- struct dive_trip *deletedTrip;
QString m_notificationText;
int m_updateSelectedDive;
int m_selectedDiveTimestamp;