From 9aa06c4284652be5f4a65d4bdb9f4d625a854606 Mon Sep 17 00:00:00 2001 From: stv Date: Wed, 29 Jun 2005 04:40:12 +0000 Subject: [PATCH] Bug fix. mySignal removed at the end of destructor. --- src/SUIT/SUIT_DataObject.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } /*! -- 2.39.2