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 --- qt-models/divetripmodel.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'qt-models/divetripmodel.cpp') diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index 41c8dea80..f0d167432 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -611,7 +611,6 @@ void DiveTripModel::setupModelData() clear(); if (autogroup) autogroup_dives(); - dive_table.preexisting = dive_table.nr; QMap trips; while (--i >= 0) { struct dive *dive = get_dive(i); -- cgit v1.2.3-70-g09d2