From 6a558a6816f4d511b16c3aa3015b2b4abcf95dad Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 9 Nov 2005 13:14:15 +0000 Subject: [PATCH] Fix for bug IPAL10429 ( Help system doesn't work ). --- src/LightApp/LightApp_Application.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2