summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-30 22:03:10 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-29 08:34:09 -0800
commit51d0c42a5c826350ba189abaf0f57ef1b35381f3 (patch)
treed7fdb9745661a78e8324d91b90b0a13dc028bdca /qt-models
parent9e84fd935bd68ef667426d92f3c27b3aab58649a (diff)
downloadsubsurface-51d0c42a5c826350ba189abaf0f57ef1b35381f3.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/mobilelistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{