diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-17 19:53:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-19 21:13:40 -0800 |
commit | 3003c6e1eed330978193d6859eca2f79ee68aa54 (patch) | |
tree | 1baeb54aeca0eda10d273779cf3704095a170d2e /core/subsurface-qt/DiveListNotifier.h | |
parent | 9ffafbc326b38bd2d0bb870fa4721b6c94280c28 (diff) | |
download | subsurface-3003c6e1eed330978193d6859eca2f79ee68aa54.tar.gz |
Filter: move recalculation of filter from FilterModel to TripModel
The way this was accessed via Qt's model semantics was horrible.
This gives arguably more readable code, since we don't have to
shoehorn things through QVariants.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt/DiveListNotifier.h')
-rw-r--r-- | core/subsurface-qt/DiveListNotifier.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/DiveListNotifier.h b/core/subsurface-qt/DiveListNotifier.h index 475f2ddbe..e63738512 100644 --- a/core/subsurface-qt/DiveListNotifier.h +++ b/core/subsurface-qt/DiveListNotifier.h @@ -94,6 +94,7 @@ signals: // Filter-related signals void numShownChanged(); + void filterReset(); // This signal is emited every time a command is executed. // This is used to hide an old multi-dives-edited warning message. |