From 3003c6e1eed330978193d6859eca2f79ee68aa54 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 17 Nov 2019 19:53:18 +0100 Subject: 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 --- core/subsurface-qt/DiveListNotifier.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/subsurface-qt') 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. -- cgit v1.2.3-70-g09d2