summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-models/divelistmodel.cpp5
-rw-r--r--qt-models/divelistmodel.h1
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();