]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
untabify
authoreap <eap@opencascade.com>
Wed, 29 Aug 2012 16:44:07 +0000 (16:44 +0000)
committereap <eap@opencascade.com>
Wed, 29 Aug 2012 16:44:07 +0000 (16:44 +0000)
src/SMESHGUI/SMESHGUI_Hypotheses.cxx

index 3d0baf890b2b1d0a856a8d01e474407cce0ff9e0..c42a940d42b86f20858508d74fe75298c74592c3 100644 (file)
@@ -653,10 +653,10 @@ void SMESHGUI_HypothesisDlg::onHelp()
     if(myCreator) {
       QVariant pluginName = myCreator->property( PLUGIN_NAME );
       if( pluginName.isValid() ) {
-       QString rootDir = pluginName.toString() + "PLUGIN_ROOT_DIR";
-       QString varValue = QString( getenv(rootDir.toLatin1().constData()));
-       if(!varValue.isEmpty())
-         name = pluginName.toString() + "PLUGIN";
+        QString rootDir = pluginName.toString() + "PLUGIN_ROOT_DIR";
+        QString varValue = QString( getenv(rootDir.toLatin1().constData()));
+        if(!varValue.isEmpty())
+          name = pluginName.toString() + "PLUGIN";
       }
     }    
     app->onHelpContextModule(name, myHelpFileName);