From: smh Date: Mon, 19 Apr 2004 07:32:28 +0000 (+0000) Subject: GetVisuComponent(): loading VISU GUI is no longer needed, for VISU event processing... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=83f6becc3ae93d5b18be18e43e8f341ac76ebb25;p=modules%2Fkernel.git GetVisuComponent(): loading VISU GUI is no longer needed, for VISU event processing mechanism resides fully in VISU_I --- diff --git a/src/Session/SALOME_Session_i.cxx b/src/Session/SALOME_Session_i.cxx index 4c338605d..8729900a0 100644 --- a/src/Session/SALOME_Session_i.cxx +++ b/src/Session/SALOME_Session_i.cxx @@ -75,9 +75,6 @@ Engines::Component_ptr SALOME_Session_i::GetVisuComponent() OSD_SharedLibrary visuSharedLibrary("libVISUEngine.so"); if(visuSharedLibrary.DlOpen(OSD_RTLD_LAZY)) if(OSD_Function osdFun = visuSharedLibrary.DlSymb("GetVisuGen")) { - //qApp->lock(); - QAD_Application::getDesktop()->getComponentGUI( QAD_Application::getDesktop()->getComponentUserName( "VISU" ) ); - //qApp->unlock(); return ((VisuGen (*)) osdFun)(_orb,_poa,_NS,_GUIMutex); } return Engines::Component::_nil();