[PyKDE] PyQT Segfault on widget removal.

Henry Kleynhans henry at obsidian.co.za
Wed Jun 18 14:06:01 BST 2003


Hi Phil,

Quick question; if I use the deleteLater() function do I have to delete the 
local reference to the object, i.e.: 

	self.myWidget.deleteLater()

do I have to do:

	del self.myWidget

Kind regards,

Henry

On Wednesday 18 June 2003 13:37, Henry Kleynhans wrote:
> Hi all,
>
> Ok, the following seems to work ok.
>
> 	# Don't do this
> 	# self.myParent.removeChild(self.myChild)
> 	self.myChild.deleteLater()
> 	del self.myChild
>

-- 
Henry Kleynhans <henry at obsidian.co.za>
Obsidian Systems




More information about the PyQt mailing list