]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug IPAL10429 ( Help system doesn't work ).
authormzn <mzn@opencascade.com>
Wed, 9 Nov 2005 13:14:15 +0000 (13:14 +0000)
committermzn <mzn@opencascade.com>
Wed, 9 Nov 2005 13:14:15 +0000 (13:14 +0000)
src/LightApp/LightApp_Application.cxx

index 62f472bca4a0f4010e3d36b517c31a9d6e85eaa7..dac8a5223f8c879c4032d6cb1d60525da864b8c0 100644 (file)
@@ -771,13 +771,13 @@ void LightApp_Application::onHelpContentsModule()
   const QAction* obj = (QAction*) sender();
 
   QString aComponentName = obj->name();
-  QString aFileName = aComponentName.lower() + ".htm";
+  QString aFileName = aComponentName + "_index.html";
 
   QCString dir;
   QString root;
   QString homeDir;
   if (dir = getenv( aComponentName + "_ROOT_DIR")) {
-    root = Qtx::addSlash( Qtx::addSlash(dir) +  Qtx::addSlash("doc") +  Qtx::addSlash("salome")  +  Qtx::addSlash(aComponentName));
+    root = Qtx::addSlash( Qtx::addSlash(dir) +  Qtx::addSlash("doc") +  Qtx::addSlash("salome") );
     if ( QFileInfo( root + aFileName ).exists() ) {
       homeDir = root;
     } else {