From: stv Date: Wed, 29 Jun 2005 04:40:12 +0000 (+0000) Subject: Bug fix. mySignal removed at the end of destructor. X-Git-Tag: V3_0_1~108 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9aa06c4284652be5f4a65d4bdb9f4d625a854606;p=modules%2Fgui.git Bug fix. mySignal removed at the end of destructor. --- diff --git a/src/SUIT/SUIT_DataObject.cxx b/src/SUIT/SUIT_DataObject.cxx index 839fffdee..877d2480e 100755 --- a/src/SUIT/SUIT_DataObject.cxx +++ b/src/SUIT/SUIT_DataObject.cxx @@ -33,8 +33,6 @@ SUIT_DataObject::~SUIT_DataObject() mySignal->setOwner( 0 ); } - delete mySignal; - SUIT_DataObject* p = myParent; myParent = 0; @@ -44,6 +42,8 @@ SUIT_DataObject::~SUIT_DataObject() for ( QPtrListIterator it( myChildren ); it.current(); ++it ) it.current()->myParent = 0; + + delete mySignal; } /*!