[network/ruqola] src/core/model: Remove unused method

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 29e346dd95d053be0960f6d9ae2b2a80e7190e9e by Laurent Montel.
Committed on 28/07/2026 at 11:19.
Pushed by mlaurent into branch 'master'.

Remove unused method

M  +0    -5    src/core/model/searchtreebasefilterproxymodel.cpp
M  +0    -1    src/core/model/searchtreebasefilterproxymodel.h

https://invent.kde.org/network/ruqola/-/commit/29e346dd95d053be0960f6d9ae2b2a80e7190e9e

diff --git a/src/core/model/searchtreebasefilterproxymodel.cpp b/src/core/model/searchtreebasefilterproxymodel.cpp
index 74cfc136cb..532b41baf2 100644
--- a/src/core/model/searchtreebasefilterproxymodel.cpp
+++ b/src/core/model/searchtreebasefilterproxymodel.cpp
@@ -24,11 +24,6 @@ void SearchTreeBaseFilterProxyModel::setFilterString(const QString &string)
     setFilterFixedString(string);
 }
 
-void SearchTreeBaseFilterProxyModel::clearFilter()
-{
-    setFilterFixedString(QString());
-}
-
 bool SearchTreeBaseFilterProxyModel::lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const
 {
     if (mSortFunction) {
diff --git a/src/core/model/searchtreebasefilterproxymodel.h b/src/core/model/searchtreebasefilterproxymodel.h
index 1c81b39a0e..a9b20cd432 100644
--- a/src/core/model/searchtreebasefilterproxymodel.h
+++ b/src/core/model/searchtreebasefilterproxymodel.h
@@ -18,7 +18,6 @@ public:
     ~SearchTreeBaseFilterProxyModel() override;
 
     void setFilterString(const QString &string);
-    void clearFilter();
 
     void setSortFunction(SortFunction fn);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.