From 78405c726575e3c00a0f2cd0651f0e0338295a07 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 19 Feb 2020 19:19:33 +0100 Subject: [PATCH] mobile: remove DiveListSortModel::getFilterString() This member function was never used. Signed-off-by: Berthold Stoeger --- qt-models/divelistmodel.cpp | 5 ----- qt-models/divelistmodel.h | 1 - 2 files changed, 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();