]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
GetVisuComponent(): loading VISU GUI is no longer needed, for VISU event processing...
authorsmh <smh@opencascade.com>
Mon, 19 Apr 2004 07:32:28 +0000 (07:32 +0000)
committersmh <smh@opencascade.com>
Mon, 19 Apr 2004 07:32:28 +0000 (07:32 +0000)
src/Session/SALOME_Session_i.cxx

index 4c338605d02fe94c4afb02e80e01094d6e701e8f..8729900a01730af2cef84f9a9ab2d6b62064dded 100644 (file)
@@ -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();