From 14664e54b1a2dbe9c06f474a0918a262dba04e20 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 25 Jul 2011 19:48:41 +0200 Subject: clean up - QL1S - one stupid kDebug less - codingstyle --- src/urlfilterproxymodel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/urlfilterproxymodel.cpp') diff --git a/src/urlfilterproxymodel.cpp b/src/urlfilterproxymodel.cpp index c3b4beea..aa9ac7a6 100644 --- a/src/urlfilterproxymodel.cpp +++ b/src/urlfilterproxymodel.cpp @@ -45,13 +45,13 @@ bool UrlFilterProxyModel::filterAcceptsRow(const int source_row, const QModelInd bool UrlFilterProxyModel::recursiveMatch(const QModelIndex &index) const { - if(index.data().toString().contains(filterRegExp())) + if (index.data().toString().contains(filterRegExp())) return true; int numChildren = sourceModel()->rowCount(index); - for(int childRow = 0; childRow < numChildren; ++childRow) + for (int childRow = 0; childRow < numChildren; ++childRow) { - if(recursiveMatch(sourceModel()->index(childRow, 0, index))) + if (recursiveMatch(sourceModel()->index(childRow, 0, index))) return true; } -- cgit v1.2.1