Berthold Stoeger 58f2e5f77c Undo: use QUndoStack::isClean() to determine unsaved changes
Properly implement the unsaved-changes flag(s). Since we currently have
two kinds of changes, there are two flags:
1) dive_list_changed in divelist.c marks non-undoable changes. This flag
   is only cleared on save or load.
2) QUndoStack::isClean() is used to determine the state of undoable
   changes. Every time the user returns to the state where they saved,
   this flag is cleared.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00
..
2019-04-04 09:33:56 -07:00
2018-07-18 02:09:15 +03:00
2017-04-29 13:32:55 -07:00
2018-08-23 05:16:38 -07:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-04-12 18:19:07 +03:00
2018-08-23 05:16:38 -07:00
2019-02-05 14:18:14 +01:00
2019-04-12 12:59:17 +03:00
2019-04-12 12:59:17 +03:00
2017-04-29 13:32:55 -07:00
2019-04-04 09:33:56 -07:00
2019-04-04 09:33:56 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2019-01-16 02:38:30 +01:00