]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: SARGE port
authorprascle <prascle>
Tue, 15 Mar 2005 08:41:31 +0000 (08:41 +0000)
committerprascle <prascle>
Tue, 15 Mar 2005 08:41:31 +0000 (08:41 +0000)
src/SALOME_PYQT/SALOME_PYQT_GUI.cxx

index ce1ae9842edaedf021ab56ed9f256f4752e387c7..da744268e93d27ea459a214abbc4a88c66e64c39 100644 (file)
@@ -53,7 +53,7 @@ void SALOME_PYQT_GUI::setWorkSpace()
     return ;
   }  
 
-  QWorkspace *sipRes=QAD_Application::getDesktop()->getMainFrame();
+  QWorkspaceP *sipRes=QAD_Application::getDesktop()->getMainFrame();
   PyObjWrapper pyws(sipMapCppToSelf( sipRes, sipClass_QWorkspace));
   PyObjWrapper res(PyObject_CallMethod(_module,"setWorkSpace","O",pyws.get()));
   SCRUTE(pyws->ob_refcnt);