summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-17 06:28:53 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-23 22:45:29 +0100
commit90d321f0ffb3202c8a7c18298dd5871992ecb86a (patch)
treefde37fc92a12b3e9e2e7372f6f0208edc09b95da /qt-models/divelistmodel.h
parent65aa6bc43b763f9b391a3f414c4cda76c6e52062 (diff)
downloadsubsurface-90d321f0ffb3202c8a7c18298dd5871992ecb86a.tar.gz
Mobile/filtering: add count of filtered dives to search bar
The count in the trip headers is still that for the complete trip and therefore misleading. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index c34fb931d..b633cc3d5 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -19,6 +19,7 @@ public slots:
int getIdxForId(int id);
void setFilter(QString f);
void resetFilter();
+ int shown();
};
class DiveListModel : public QAbstractListModel