From ab14889563317b561eb22ad46d05f302cc582600 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 3 Oct 2018 21:14:11 +0200 Subject: 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 --- mobile-widgets/qmlmanager.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'mobile-widgets') 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(); -- cgit v1.2.3-70-g09d2