summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-05-05 17:08:06 +0300
committerOrgad Shaneh <orgads@gmail.com>2014-05-06 09:09:11 +0200
commit12087d1195c4448a8c543165f99050253be9cc76 (patch)
tree0c0d6e8c192ddde0d1673370cdb49293e50d9dcd
parentbe613a4060a829504302ff3999d730b8845c7906 (diff)
downloadqt-creator-12087d1195c4448a8c543165f99050253be9cc76.tar.gz
Help: Add missing braces
Change-Id: Ic7f8a0bafaa29282fdaff78d3d136be1bc966995 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
-rw-r--r--src/shared/help/bookmarkmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/help/bookmarkmanager.cpp b/src/shared/help/bookmarkmanager.cpp
index 5089cf09bf..c0e79953c0 100644
--- a/src/shared/help/bookmarkmanager.cpp
+++ b/src/shared/help/bookmarkmanager.cpp
@@ -781,8 +781,9 @@ void BookmarkManager::setupBookmarkModels()
}
}
parents.last()->appendRow(item);
- if (type == QLatin1String("Folder"))
+ if (type == QLatin1String("Folder")) {
parents << item; lastDepths << depth;
+ }
}
if (type != QLatin1String("Folder")) {