What is the proper way to remove and destroy an object from a QWidgetStack?

I tried:
        object = widgetStack.widget( objectId )
        widgetStack.removeWidget( object )
        del object

However it doesn't seem to call the destructor of that object, causing a 
memory leak. What is the proper way to do this to make sure the object really 
gets destroyed?


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to