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
|
@ -861,7 +861,6 @@ static int dive_cb(const unsigned char *data, unsigned int size,
|
|||
add_dive_to_trip(dive, devdata->trip);
|
||||
}
|
||||
|
||||
dive->downloaded = true;
|
||||
record_dive_to_table(dive, devdata->download_table);
|
||||
mark_divelist_changed(true);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue