From: mzn Date: Wed, 9 Nov 2005 13:14:15 +0000 (+0000) Subject: Fix for bug IPAL10429 ( Help system doesn't work ). X-Git-Tag: V3_1_0a3~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a558a6816f4d511b16c3aa3015b2b4abcf95dad;p=modules%2Fgui.git Fix for bug IPAL10429 ( Help system doesn't work ). --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 62f472bca..dac8a5223 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -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 {