mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Core: remove dive->downloaded flag
This flag had two distinct uses: - signal that dives were downloaded, not imported - use to mark imported dives Both are not used anymore, therefore remove the flag. The uemis downloaded misused the flag to mark deleted dives. Instead misuse the "hidden_by_filter" flag. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
6dc1dcaea5
commit
90b019bc8d
5 changed files with 5 additions and 10 deletions
|
@ -427,7 +427,6 @@ static void parse_dives (int log_version, const unsigned char *buf, unsigned int
|
|||
}
|
||||
|
||||
// End dive
|
||||
dive->downloaded = true;
|
||||
record_dive_to_table(dive, table);
|
||||
dive = NULL;
|
||||
mark_divelist_changed(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue