From 4e3da2e64267fca93759e2b72ece826ed13f939e Mon Sep 17 00:00:00 2001 From: nri Date: Fri, 18 Jul 2003 13:00:51 +0000 Subject: [PATCH] NRI : correction wrong mechanism to find GUI library. --- src/SALOMEGUI/SALOMEGUI_Application.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ; -- 2.39.2