X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Hypotheses.cxx;h=c42a940d42b86f20858508d74fe75298c74592c3;hp=3d0baf890b2b1d0a856a8d01e474407cce0ff9e0;hb=f5016d85b7b4b88623723027a1585c6414c4dc66;hpb=e4f02cdb389c8e4170ac26760a3f0257a009fd3b diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 3d0baf890..c42a940d4 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -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);