]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NRI : correction wrong mechanism to find GUI library.
authornri <nri@opencascade.com>
Fri, 18 Jul 2003 13:00:51 +0000 (13:00 +0000)
committernri <nri@opencascade.com>
Fri, 18 Jul 2003 13:00:51 +0000 (13:00 +0000)
src/SALOMEGUI/SALOMEGUI_Application.cxx

index 6720195b43166fda30477afbf56dbb15ea5d88fb..61556f22f578beb59beff104b873609f8ee642f9 100644 (file)
@@ -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) ;