From 330a8ab0d84ef2f308d4455f4abce4023feea07c Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Fri, 17 Jan 2014 20:11:17 +0100 Subject: [PATCH] filterAcceptsRow() should be protected instead of private since it overrides a method in its superclass. --- src/krecursivefilterproxymodel.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/krecursivefilterproxymodel.h b/src/krecursivefilterproxymodel.h index 5cf843b..cf14c12 100644 --- a/src/krecursivefilterproxymodel.h +++ b/src/krecursivefilterproxymodel.h @@ -112,11 +112,9 @@ protected: */ virtual bool acceptRow(int sourceRow, const QModelIndex &sourceParent) const; -private: /** @reimp */ - bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const; + virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const; -protected: KRecursiveFilterProxyModelPrivate *const d_ptr; private: