From dae76cdc2dad1ec49520c6cb23530adaa5a6134a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 13 Nov 2014 12:35:12 -0800 Subject: Add a function to count dives with a specific suit Checking against the location field probably wasn't the best way to do this... Signed-off-by: Dirk Hohndel --- qt-ui/filtermodels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/filtermodels.cpp') diff --git a/qt-ui/filtermodels.cpp b/qt-ui/filtermodels.cpp index edd62cb49..2f19233e1 100644 --- a/qt-ui/filtermodels.cpp +++ b/qt-ui/filtermodels.cpp @@ -67,7 +67,7 @@ CREATE_DATA_METHOD( CLASS, COUNTER_FUNCTION ) CREATE_COMMON_METHODS_FOR_FILTER(TagFilterModel, count_dives_with_tag); CREATE_COMMON_METHODS_FOR_FILTER(BuddyFilterModel, count_dives_with_person); CREATE_COMMON_METHODS_FOR_FILTER(LocationFilterModel, count_dives_with_location); -CREATE_COMMON_METHODS_FOR_FILTER(SuitsFilterModel, count_dives_with_location); +CREATE_COMMON_METHODS_FOR_FILTER(SuitsFilterModel, count_dives_with_suit); CREATE_INSTANCE_METHOD(MultiFilterSortModel); -- cgit v1.2.3-70-g09d2