From: nds Date: Thu, 2 Nov 2017 15:59:03 +0000 (+0300) Subject: Correction for jenkins X-Git-Tag: V_2.10.0RC~176 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f422e4343274525180837d22a67267ad5f79153;p=modules%2Fshaper.git Correction for jenkins --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 43f6f446e..e3bca97c2 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -295,10 +295,10 @@ void XGUI_Workshop::startApplication() Config_PropManager::registerProp("Plugins", "default_path", "Default Path", Config_Prop::Directory, ""); - QString aDefaultPath = QString("%1Resources").arg(ModuleBase_Preferences::resourceMgr()->appName()); - std::string aDir = getenv(aDefaultPath.toLatin1()); - Config_PropManager::registerProp("Plugins", "combo_box_elements_path", "ComboBox elements directory", - Config_Prop::Directory, aDir); + std::string aDir = getenv(QString("%1Resources").arg( + ModuleBase_Preferences::resourceMgr()->appName()).toLatin1()); + Config_PropManager::registerProp("Plugins", "combo_box_elements_path", + "ComboBox elements directory", Config_Prop::Directory, aDir); Config_PropManager::registerProp("Plugins", "import_initial_path", "Import initial directory", Config_Prop::Directory, aDir);