mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 21:46:17 +00:00
mobile/filter: use signal to reload filter
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
857e591a59
commit
ef2f65fd27
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "divefilter.h"
|
||||
#include "divelist.h"
|
||||
#include "qthelper.h"
|
||||
#include "subsurface-qt/divelistnotifier.h"
|
||||
|
||||
static void updateDiveStatus(dive *d, bool newStatus, ShownChange &change)
|
||||
{
|
||||
|
@ -123,7 +124,7 @@ ShownChange DiveFilter::updateAll() const
|
|||
void DiveFilter::setFilter(const FilterData &data)
|
||||
{
|
||||
filterData = data;
|
||||
//emit diveListNotifier.filterReset(); // Not yet using common models
|
||||
emit diveListNotifier.filterReset();
|
||||
}
|
||||
|
||||
#else // SUBSURFACE_MOBILE
|
||||
|
|
Loading…
Add table
Reference in a new issue