cleanup: move mark_divelist_changed() to qmlmanager.cpp

Desktop does not use mark_divelist_changed() anymore - all is done
via the undo machinery. Therefore move this function (and its
counterpart unsaved_changes()) to qmlmanager.cpp.

Ultimately, it probably should be removed from there as well, but
currently I don't dare to touch all the cloud-logic!

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-10-21 23:34:15 +02:00 committed by Dirk Hohndel
parent c263487e7c
commit 3358bff432
3 changed files with 18 additions and 20 deletions

View file

@ -26,8 +26,6 @@ extern struct dive_table dive_table;
#define DATAFORMAT_VERSION 3
extern void update_cylinder_related_info(struct dive *);
extern void mark_divelist_changed(bool);
extern int unsaved_changes(void);
extern int init_decompression(struct deco_state *ds, struct dive *dive);
/* divelist core logic functions */