summaryrefslogtreecommitdiffstats
path: root/khelpcenter/docentry.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-09-24 23:13:44 -0500
committerTimothy Pearson <[email protected]>2014-09-24 23:13:44 -0500
commit485ab965cd717c5b94bf2d941e4efa6293b57642 (patch)
tree2b9124a3ec47faa9956842e603e711bbdd28269e /khelpcenter/docentry.cpp
parent07d87c947a409c095cec678e7c36b022a58e2567 (diff)
downloadtdebase-485ab965cd717c5b94bf2d941e4efa6293b57642.tar.gz
tdebase-485ab965cd717c5b94bf2d941e4efa6293b57642.zip
Fix khelpcenter service group entry appearing when no child service items have documentation
This relates to Bug 1968 Fix khelpcenter services showing tree expansion hints
Diffstat (limited to 'khelpcenter/docentry.cpp')
-rw-r--r--khelpcenter/docentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/khelpcenter/docentry.cpp b/khelpcenter/docentry.cpp
index 05f3ffac0..e2feedcee 100644
--- a/khelpcenter/docentry.cpp
+++ b/khelpcenter/docentry.cpp
@@ -269,7 +269,7 @@ void DocEntry::addChild( DocEntry *entry )
if ( i == 0 ) {
if ( entry->weight() < mChildren.first()->weight() ) {
entry->setNextSibling( mChildren.first() );
- mChildren.prepend( entry );
+ mChildren.prepend( entry );
break;
}
}