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>
This commit is contained in:
Berthold Stoeger 2018-10-03 21:14:11 +02:00 committed by Dirk Hohndel
parent 810903bdb9
commit ab14889563
6 changed files with 2 additions and 7 deletions

View file

@ -611,7 +611,6 @@ void DiveTripModel::setupModelData()
clear();
if (autogroup)
autogroup_dives();
dive_table.preexisting = dive_table.nr;
QMap<dive_trip_t *, TripItem *> trips;
while (--i >= 0) {
struct dive *dive = get_dive(i);