diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-11 13:34:12 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-11 13:34:12 -0800 |
commit | 19ca90f1a0ab8bad7488bf03e6248c8a8c8ff7e0 (patch) | |
tree | 95a9bc80e3db55d011d13498c0afad6359506edf /dive.h | |
parent | d5ffc16c362ce8f2f353f3c4880ecd689c9ea7ee (diff) | |
download | subsurface-19ca90f1a0ab8bad7488bf03e6248c8a8c8ff7e0.tar.gz |
Embed the information whether a dive is hidden by a filter in the dive
This way other parts of the code can act on the "hidden_by_filter" state.
This also cleans up the way we track if a dive is hidden - do it in the
multi filter instead of the individual filters.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -306,7 +306,8 @@ struct dive { tripflag_t tripflag; dive_trip_t *divetrip; struct dive *next, **pprev; - int selected; + bool selected; + bool hidden_by_filter; bool downloaded; timestamp_t when; char *location; |