summaryrefslogtreecommitdiffstats
path: root/khelpcenter
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-11-07 22:30:38 -0600
committerTimothy Pearson <[email protected]>2014-11-07 22:30:38 -0600
commit4d65468e66336d3d6860868616ce491a2a0eecda (patch)
tree60784f503a4bff6cf42bfa28ba8f4dfe5d82576d /khelpcenter
parent0a9e1f59ef1b09a145938dfea441f3aacfb7fb69 (diff)
downloadtdebase-4d65468e66336d3d6860868616ce491a2a0eecda.tar.gz
tdebase-4d65468e66336d3d6860868616ce491a2a0eecda.zip
Read from X-DocPath only
Diffstat (limited to 'khelpcenter')
-rw-r--r--khelpcenter/docentry.cpp2
-rw-r--r--khelpcenter/navigatorappitem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/khelpcenter/docentry.cpp b/khelpcenter/docentry.cpp
index c0491a181..220ed0f93 100644
--- a/khelpcenter/docentry.cpp
+++ b/khelpcenter/docentry.cpp
@@ -209,7 +209,7 @@ bool DocEntry::readFromFile( const TQString &fileName )
mName = file.readName();
mSearch = file.readEntry( "X-DOC-Search" );
mIcon = file.readIcon();
- mUrl = file.readPathEntry( "DocPath" );
+ mUrl = file.readPathEntry( "X-DocPath" );
mInfo = file.readEntry( "Info" );
if ( mInfo.isNull() ) mInfo = file.readEntry( "Comment" );
mLang = file.readEntry( "Lang", "en" );
diff --git a/khelpcenter/navigatorappitem.cpp b/khelpcenter/navigatorappitem.cpp
index f759a76ee..42f98e09d 100644
--- a/khelpcenter/navigatorappitem.cpp
+++ b/khelpcenter/navigatorappitem.cpp
@@ -163,7 +163,7 @@ TQString NavigatorAppItem::key( int column, bool ascending ) const
TQString NavigatorAppItem::documentationURL( KService *s )
{
- TQString docPath = s->property( "DocPath" ).toString();
+ TQString docPath = s->property( "X-DocPath" ).toString();
if ( docPath.isEmpty() )
return TQString::null;