diff options
Diffstat (limited to 'qt-models/filtermodels.cpp')
-rw-r--r-- | qt-models/filtermodels.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/filtermodels.cpp b/qt-models/filtermodels.cpp index dcb7e69ad..463276e13 100644 --- a/qt-models/filtermodels.cpp +++ b/qt-models/filtermodels.cpp @@ -32,6 +32,11 @@ void MultiFilterSortModel::resetModel(DiveTripModelBase::Layout layout) m->initSelection(); } +void MultiFilterSortModel::clear() +{ + DiveTripModelBase::instance()->clear(); +} + // Translate selection into local indexes and re-emit signal void MultiFilterSortModel::selectionChangedSlot(const QVector<QModelIndex> &indexes) { |