From 51d0c42a5c826350ba189abaf0f57ef1b35381f3 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 30 Oct 2020 22:03:10 +0100 Subject: filter: move shown_dive from divelist.c to divefilter.cpp Arguably, the number of filtered dives is a matter of the divefilter. Let's move it there. Signed-off-by: Berthold Stoeger --- qt-models/mobilelistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-models') diff --git a/qt-models/mobilelistmodel.cpp b/qt-models/mobilelistmodel.cpp index cf1db1860..f660af2e6 100644 --- a/qt-models/mobilelistmodel.cpp +++ b/qt-models/mobilelistmodel.cpp @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "mobilelistmodel.h" -#include "core/divelist.h" // for shown_dives +#include "core/divefilter.h" // for shown_dives MobileListModelBase::MobileListModelBase(DiveTripModelBase *sourceIn) : source(sourceIn) { -- cgit v1.2.3-70-g09d2