diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-05 07:57:35 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-10 09:25:57 -0700 |
commit | ef2f65fd2722a242bc78bfe6ebbadb7364b54c81 (patch) | |
tree | d7e6a6d1f6452145fb5d419c08e76b29e761253c | |
parent | 857e591a59b17035fd70de1405356e22ade25ce1 (diff) | |
download | subsurface-ef2f65fd2722a242bc78bfe6ebbadb7364b54c81.tar.gz |
mobile/filter: use signal to reload filter
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/divefilter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/divefilter.cpp b/core/divefilter.cpp index b4052213e..c84b31c2f 100644 --- a/core/divefilter.cpp +++ b/core/divefilter.cpp @@ -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 |