Read from X-DocPath only

pull/2/head
Timothy Pearson 10 years ago
parent 0a9e1f59ef
commit 4d65468e66

@ -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" );

@ -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;

Loading…
Cancel
Save