From kde-commits Sun Dec 22 10:44:08 2002 From: Joseph Wenninger Date: Sun, 22 Dec 2002 10:44:08 +0000 To: kde-commits Subject: Re: kdepim/kaplan/src X-MARC-Message: https://marc.info/?l=kde-commits&m=104055384802283 Hi Am Son, 2002-12-22 um 08.58 schrieb Don Sanders: > CVS commit by sanders: > > Don't delete the mainwidget of a part before the part itself is deleted. > > As the parts need to do cleanup before their mainwidget is deleted, (like > calling the save method of the mainwidget). > > This is equivalent to ensuring parts are deleted before the widgetstack > containing the mainwidgets of the parts is deleted. > > Normally everything should be stored within the part not within it's widgets. The other way round is eg bad with multiple views, and a part can exist even without a widget. Kind regards Joseph Wenninger