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>
This commit is contained in:
Berthold Stoeger 2020-10-30 22:03:10 +01:00 committed by Dirk Hohndel
parent 9e84fd935b
commit 51d0c42a5c
5 changed files with 24 additions and 22 deletions

View file

@ -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)
{