summaryrefslogtreecommitdiff
path: root/src/urlfilterproxymodel.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-25 19:48:41 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-25 19:48:41 +0200
commit14664e54b1a2dbe9c06f474a0918a262dba04e20 (patch)
tree2f48b455d90b5a966045f8ba6388ac8c0620259f /src/urlfilterproxymodel.cpp
parentLast SSL fixes (diff)
downloadrekonq-14664e54b1a2dbe9c06f474a0918a262dba04e20.tar.xz
clean up
- QL1S - one stupid kDebug less - codingstyle
Diffstat (limited to 'src/urlfilterproxymodel.cpp')
-rw-r--r--src/urlfilterproxymodel.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}