summaryrefslogtreecommitdiffstats
path: root/khelpcenter/navigator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-24 23:13:44 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-24 23:13:44 -0500
commit485ab965cd717c5b94bf2d941e4efa6293b57642 (patch)
tree2b9124a3ec47faa9956842e603e711bbdd28269e /khelpcenter/navigator.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/navigator.cpp')
-rw-r--r--khelpcenter/navigator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/khelpcenter/navigator.cpp b/khelpcenter/navigator.cpp
index e05671ef2..7d865d9a8 100644
--- a/khelpcenter/navigator.cpp
+++ b/khelpcenter/navigator.cpp
@@ -225,8 +225,9 @@ void Navigator::insertParentAppDocs( const TQString &name, NavigatorItem *topIte
KServiceGroup::List::ConstIterator end = entries.end();
for ( ; it != end; ++it ) {
TQString desktopFile = ( *it )->entryPath();
- if ( TQDir::isRelativePath( desktopFile ) )
+ if ( TQDir::isRelativePath( desktopFile ) ) {
desktopFile = locate( "apps", desktopFile );
+ }
createItemFromDesktopFile( topItem, desktopFile );
}
}