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 663037383..bcadce613 100644 --- a/qt-models/filtermodels.cpp +++ b/qt-models/filtermodels.cpp @@ -278,6 +278,11 @@ void MultiFilterSortModel::stopFilterDiveSites() myInvalidate(); } +const QVector<dive_site *> &MultiFilterSortModel::filteredDiveSites() const +{ + return dive_sites; +} + bool MultiFilterSortModel::diveSiteMode() const { return !dive_sites.isEmpty(); |