mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
810903bdb9
commit
ab14889563
6 changed files with 2 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue