mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7275ee6cd7
commit
6e7867dd2b
3 changed files with 37 additions and 8 deletions
|
@ -20,6 +20,11 @@ void DiveListSortModel::resetFilter()
|
|||
setFilterRegExp("");
|
||||
}
|
||||
|
||||
int DiveListSortModel::shown()
|
||||
{
|
||||
return rowCount();
|
||||
}
|
||||
|
||||
int DiveListSortModel::getDiveId(int idx)
|
||||
{
|
||||
DiveListModel *mySourceModel = qobject_cast<DiveListModel *>(sourceModel());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue