diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-04 16:01:33 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-04 16:01:33 (GMT) |
commit | 83ff02450ea74468fec441e632ddc2cfda2b251c (patch) | |
tree | cf830305b22ab065c8016321158742af788d64b8 /src/testlib/qtestcase.cpp | |
parent | 31edb4d5a63b9b3c28cce1c4ca6eb99f62a09759 (diff) | |
download | Qt-83ff02450ea74468fec441e632ddc2cfda2b251c.zip Qt-83ff02450ea74468fec441e632ddc2cfda2b251c.tar.gz Qt-83ff02450ea74468fec441e632ddc2cfda2b251c.tar.bz2 |
Revert "Remove currentChildBeingDeleted from QObjectPrivate."
This reverts commit 128717b171f01c82e5f0fb83f5923d4f7b9cfc10.
The change broke Alien because QWidget no longer has the native window
handle in its own private. It needs to access the top-level window (or
the one with the native handle) in order to perform some operations.
The problem is that it needs to do that in the destructor. And we
cleared the parent before the destructor was run. Technically
speaking, reverting is the correct thing to do, since the parent
*still* exists when the child is deleted.
Diffstat (limited to 'src/testlib/qtestcase.cpp')
0 files changed, 0 insertions, 0 deletions