From 6c097e6ff1c26c8c0e0fe0d8be2442d72a16fd70 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 7 Nov 2014 22:30:02 -0600 Subject: Read from X-DocPath only --- tdeutils/kcmultidialog.h | 2 +- tdeutils/tdecmoduleinfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeutils') diff --git a/tdeutils/kcmultidialog.h b/tdeutils/kcmultidialog.h index 4a90f5d0c..444f2f4db 100644 --- a/tdeutils/kcmultidialog.h +++ b/tdeutils/kcmultidialog.h @@ -215,7 +215,7 @@ protected slots: /** * This slot is called when the user presses the "Help" Button. - * It reads the DocPath field of the currently selected KControl + * It reads the X-DocPath field of the currently selected KControl * module's .desktop file to find the path to the documentation, * which it then attempts to load. * diff --git a/tdeutils/tdecmoduleinfo.cpp b/tdeutils/tdecmoduleinfo.cpp index 4869bb1ef..0b0f7f4e8 100644 --- a/tdeutils/tdecmoduleinfo.cpp +++ b/tdeutils/tdecmoduleinfo.cpp @@ -173,7 +173,7 @@ TDECModuleInfo::loadAll() setIsHiddenByDefault( tmp.isValid() ? tmp.toBool() : false ); // get the documentation path - setDocPath( _service->property( "DocPath", TQVariant::String ).toString() ); + setDocPath( _service->property( "X-DocPath", TQVariant::String ).toString() ); tmp = _service->property( "X-TDE-Test-Module", TQVariant::Bool ); setNeedsTest( tmp.isValid() ? tmp.asBool() : false ); -- cgit v1.2.1