summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-03 21:14:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-06 19:47:06 -0700
commitab14889563317b561eb22ad46d05f302cc582600 (patch)
treec12edebf14d86a77a289d5535411934ca09809d7 /mobile-widgets
parent810903bdb9db84997dc3d32bb8e934e320784a4d (diff)
downloadsubsurface-ab14889563317b561eb22ad46d05f302cc582600.tar.gz
Core: remove preexisting field from struct dive_table
Dives are now in all cases imported via distinct dive_tables. Therefore the "preexisting" marker is useless. Remove. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 67f99b8d5..4927899de 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -671,7 +671,6 @@ successful_exit:
// for the remote data - which then later gets merged with the remote data if necessary
if (noCloudToCloud) {
git_storage_update_progress(qPrintable(tr("Loading dives from local storage ('no cloud' mode)")));
- dive_table.preexisting = dive_table.nr;
mergeLocalRepo();
DiveListModel::instance()->clear();
DiveListModel::instance()->addAllDives();