diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-17 14:34:12 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-19 21:13:40 -0800 |
commit | 669ca76b086ff182645952894446ef706f6ed401 (patch) | |
tree | 7918717047786933687c64733ad6939d8e92960d | |
parent | e66f2aed6a93cbfe3d8afa11e08e2efd847ae996 (diff) | |
download | subsurface-669ca76b086ff182645952894446ef706f6ed401.tar.gz |
Cleanup: remove MultiFilterSortModel::clearFilter
Nobody was using that function.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | qt-models/filtermodels.cpp | 5 | ||||
-rw-r--r-- | qt-models/filtermodels.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/qt-models/filtermodels.cpp b/qt-models/filtermodels.cpp index 27bb33856..399b2608f 100644 --- a/qt-models/filtermodels.cpp +++ b/qt-models/filtermodels.cpp @@ -291,11 +291,6 @@ bool MultiFilterSortModel::updateDive(struct dive *d) return changed; } -void MultiFilterSortModel::clearFilter() -{ - myInvalidate(); -} - void MultiFilterSortModel::startFilterDiveSites(QVector<dive_site *> ds) { if (++diveSiteRefCount > 1) { diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h index b726c2d28..3670528e6 100644 --- a/qt-models/filtermodels.h +++ b/qt-models/filtermodels.h @@ -68,7 +68,6 @@ public: public slots: void myInvalidate(); - void clearFilter(); void startFilterDiveSites(QVector<dive_site *> ds); void setFilterDiveSite(QVector<dive_site *> ds); void stopFilterDiveSites(); |