summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-19 13:33:35 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-10-21 19:57:49 +0300
commit2f81890f496a21c852513a26b728e04e03c4f01e (patch)
treeacd665a6112a751146a1cdc498a7d133ed5f8f30 /qt-models/divetripmodel.h
parentbca9c8f88cccf708f54b97524dc84ab5aaa9c4f3 (diff)
downloadsubsurface-2f81890f496a21c852513a26b728e04e03c4f01e.tar.gz
Dive list: update trip headers on filter-finish
On change of the filter, the headers of non-extended trips were not updated. Therefore, on filter-finish-event loop over all trips in DiveTripModel and signal data-changed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index d75926f9e..9ccad16dc 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -75,6 +75,7 @@ private slots:
void divesSelected(dive_trip *trip, const QVector<dive *> &dives);
void divesDeselected(dive_trip *trip, const QVector<dive *> &dives);
void currentDiveChanged();
+ void filterFinished();
private:
// The model has up to two levels. At the top level, we have either trips or dives
// that do not belong to trips. Such a top-level item is represented by the "Item"