diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-19 19:19:33 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-01 10:21:44 -0800 |
commit | 78405c726575e3c00a0f2cd0651f0e0338295a07 (patch) | |
tree | 5c9b3619ad56d4199fa9967227dfe8b0b0180c52 /qt-models | |
parent | 5bbc0fdb586547fa1db887e82ff6556febbabc43 (diff) | |
download | subsurface-78405c726575e3c00a0f2cd0651f0e0338295a07.tar.gz |
mobile: remove DiveListSortModel::getFilterString()
This member function was never used.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/divelistmodel.cpp | 5 | ||||
-rw-r--r-- | qt-models/divelistmodel.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/qt-models/divelistmodel.cpp b/qt-models/divelistmodel.cpp index 1335b2952..ffcde5d4a 100644 --- a/qt-models/divelistmodel.cpp +++ b/qt-models/divelistmodel.cpp @@ -191,11 +191,6 @@ DiveListSortModel *DiveListSortModel::instance() return &self; } -QString DiveListSortModel::getFilterString() const -{ - return filterString; -} - void DiveListSortModel::updateFilterState() { if (filterString.isEmpty()) { diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index e455d2ea7..f09003b5f 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -43,7 +43,6 @@ class DiveListSortModel : public QSortFilterProxyModel public: static DiveListSortModel *instance(); void setSourceModel(QAbstractItemModel *sourceModel); - QString getFilterString() const; Q_INVOKABLE void reload(); QString filterString; void updateFilterState(); |