summaryrefslogtreecommitdiff
path: root/src/shared/help
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/help')
-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")) {