From 4d65468e66336d3d6860868616ce491a2a0eecda Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 7 Nov 2014 22:30:38 -0600 Subject: Read from X-DocPath only --- khelpcenter/docentry.cpp | 2 +- khelpcenter/navigatorappitem.cpp | 2 +- 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; -- cgit v1.2.1