[Interest] Automatic deletion of children of QObject

Thiago Macieira thiago.macieira at intel.com
Tue Jun 12 23:14:49 CEST 2012

On terça-feira, 12 de junho de 2012 21.36.46, Jochen Becher wrote:
> In my case childB is not a child of childA but both are children of
> parent (widgets in the same group/layout). But childB has a reference to
> childA which might be accessed in destructor.

That's a whole different problem. Accessing siblings during destruction is a 
bad idea by itself.

There's only one thing worse than that: deleting a sibling.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120612/edf5fef3/attachment.sig>

More information about the Interest mailing list