From 5a5a8c11ed1b1a90452c4f7ed36650be36fbaa2c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 27 Mar 2017 10:56:28 +0200 Subject: Filter on all things visible --- framework/domain/maillistmodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/domain/maillistmodel.h') diff --git a/framework/domain/maillistmodel.h b/framework/domain/maillistmodel.h index 8e22da60..44347661 100644 --- a/framework/domain/maillistmodel.h +++ b/framework/domain/maillistmodel.h @@ -47,6 +47,7 @@ public: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; + bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const Q_DECL_OVERRIDE; enum Roles { Subject = Qt::UserRole + 1, -- cgit v1.2.3