From 5443abac971337a71be3894c956f54a296fac482 Mon Sep 17 00:00:00 2001 From: prascle Date: Tue, 15 Mar 2005 08:41:31 +0000 Subject: [PATCH] PR: SARGE port --- src/SALOME_PYQT/SALOME_PYQT_GUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2