From: nri Date: Fri, 18 Jul 2003 13:00:51 +0000 (+0000) Subject: NRI : correction wrong mechanism to find GUI library. X-Git-Tag: V1_4_0~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4e3da2e64267fca93759e2b72ece826ed13f939e;p=modules%2Fkernel.git NRI : correction wrong mechanism to find GUI library. --- diff --git a/src/SALOMEGUI/SALOMEGUI_Application.cxx b/src/SALOMEGUI/SALOMEGUI_Application.cxx index 6720195b4..61556f22f 100644 --- a/src/SALOMEGUI/SALOMEGUI_Application.cxx +++ b/src/SALOMEGUI/SALOMEGUI_Application.cxx @@ -509,9 +509,9 @@ void SALOMEGUI_Application::onDisplay(int id) dir = dir + "salome" ; dir = QAD_Tools::addSlash(dir) ; #ifdef WNT - dir = dir + "lib" + parentComp.latin1() + "GUI.dll" ; + dir = dir + "lib" + QAD_Application::getDesktop()->getComponentName(parentComp).latin1() + "GUI.dll" ; #else - dir = dir + "lib" + parentComp.latin1() + "GUI.so" ; + dir = dir + "lib" + QAD_Application::getDesktop()->getComponentName(parentComp).latin1() + "GUI.so" ; #endif MESSAGE ( " GUI library = " << dir ) fileInfo.setFile(dir) ;