From: stv Date: Tue, 29 Aug 2006 11:47:38 +0000 (+0000) Subject: Objects of class SUIT_DataObject deleted by method deleteLater() instead operator... X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a478bbd999a3c63bdfdc210b9bc3afb6e75d68da;p=modules%2Fgui.git Objects of class SUIT_DataObject deleted by method deleteLater() instead operator delete(). --- diff --git a/src/LightApp/LightApp_DataModel.cxx b/src/LightApp/LightApp_DataModel.cxx index 9fe3b086a..6c113382a 100644 --- a/src/LightApp/LightApp_DataModel.cxx +++ b/src/LightApp/LightApp_DataModel.cxx @@ -119,7 +119,7 @@ void LightApp_DataModel::update( LightApp_DataObject*, LightApp_Study* ) build(); updateWidgets(); for( DataObjectListIterator it( ch ); it.current(); ++it ) - delete it.current(); + it.current()->deleteLater(); } /*!