summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-12-12 23:07:17 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-20 15:20:44 -0700
commit4e47cdfa2c611e0e02f46b84d76d29f1fab74e20 (patch)
treeec7de6591f918f7fb6b73f2b89f41d4b9ee1a1d1 /core/subsurface-qt
parent329641fdcdf7759d430aea2d2a115550bc5caf62 (diff)
downloadsubsurface-4e47cdfa2c611e0e02f46b84d76d29f1fab74e20.tar.gz
Undo: implement invalidate-dive command
Connect command to context menu. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r--core/subsurface-qt/divelistnotifier.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/subsurface-qt/divelistnotifier.h b/core/subsurface-qt/divelistnotifier.h
index 5ef25e832..f1b5da2c6 100644
--- a/core/subsurface-qt/divelistnotifier.h
+++ b/core/subsurface-qt/divelistnotifier.h
@@ -35,6 +35,7 @@ struct DiveField {
unsigned int mode : 1;
unsigned int notes : 1;
unsigned int salinity : 1;
+ unsigned int invalid : 1;
enum Flags {
NONE = 0,
NR = 1 << 0,
@@ -57,7 +58,8 @@ struct DiveField {
TAGS = 1 << 17,
MODE = 1 << 18,
NOTES = 1 << 19,
- SALINITY = 1 << 20
+ SALINITY = 1 << 20,
+ INVALID = 1 << 21
};
DiveField(int flags);
};