Remove unused DivesFilteredOut variable

It's kinda redundant, anyway, given that we know the total number of
dives.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-16 18:39:29 +00:00
parent 05e02b939a
commit e5c70de1ee
2 changed files with 1 additions and 5 deletions

View file

@ -329,7 +329,6 @@ void MultiFilterSortModel::myInvalidate()
DiveListView *dlv = MainWindow::instance()->dive_list();
divesDisplayed = 0;
divesFilteredOut = 0;
invalidate();
@ -356,9 +355,7 @@ void MultiFilterSortModel::myInvalidate()
}
for_each_dive (i,d) {
if (d->hidden_by_filter)
divesFilteredOut++;
else
if (!d->hidden_by_filter)
divesDisplayed++;
}