From: prascle Date: Tue, 15 Mar 2005 08:41:31 +0000 (+0000) Subject: PR: SARGE port X-Git-Tag: SARGE_Port_V221_18mar05~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5443abac971337a71be3894c956f54a296fac482;p=modules%2Fkernel.git PR: SARGE port --- diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx index ce1ae9842..da744268e 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx @@ -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);