aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/find
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-11-11 22:20:47 +0200
committerhjk <hjk121@nokiamail.com>2013-11-14 08:13:52 +0100
commit4442a92729f17db4f47a4458894298487952109c (patch)
treeb1e87e18abdb34b59ca5082c3104cab211157328 /src/plugins/find
parentbfad6f107ab4fdaee6dcf4dd32caefc025bfe3f1 (diff)
Braces cleanup
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/find')
-rw-r--r--src/plugins/find/treeviewfind.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/find/treeviewfind.cpp b/src/plugins/find/treeviewfind.cpp
index 967f09fb51d..99a3149f1df 100644
--- a/src/plugins/find/treeviewfind.cpp
+++ b/src/plugins/find/treeviewfind.cpp
@@ -207,9 +207,8 @@ QModelIndex TreeViewFind::nextIndex(const QModelIndex &idx, bool *wrapped) const
QModelIndex current = model->index(idx.row(), 0, idx.parent());
// check for children
- if (model->rowCount(current) > 0) {
+ if (model->rowCount(current) > 0)
return current.child(0, 0);
- }
// no more children, go up and look for parent with more children
QModelIndex nextIndex;