|
|
|
@ -301,7 +301,8 @@ bool KRecursiveFilterProxyModel::filterAcceptsRow(int sourceRow, const QModelInd |
|
|
|
Q_ASSERT(source_index.isValid()); |
|
|
|
Q_ASSERT(source_index.isValid()); |
|
|
|
bool accepted = false; |
|
|
|
bool accepted = false; |
|
|
|
|
|
|
|
|
|
|
|
for (int row = 0, rows = sourceModel()->rowCount(source_index); row < rows; ++row) { |
|
|
|
const int numChildren = sourceModel()->rowCount(source_index); |
|
|
|
|
|
|
|
for (int row = 0, rows = numChildren; row < rows; ++row) { |
|
|
|
if (filterAcceptsRow(row, source_index)) { |
|
|
|
if (filterAcceptsRow(row, source_index)) { |
|
|
|
accepted = true; |
|
|
|
accepted = true; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|