diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-16 10:21:38 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-16 13:13:30 (GMT) |
commit | bc7eb95302d9fac44c8e922b173a576aaa9606d5 (patch) | |
tree | e31a12334c2cdaeeae6a7668c62568bae5ce4fb2 /src | |
parent | 64017d5d8a431c100ae190567cfd815dce02b334 (diff) | |
download | Qt-bc7eb95302d9fac44c8e922b173a576aaa9606d5.zip Qt-bc7eb95302d9fac44c8e922b173a576aaa9606d5.tar.gz Qt-bc7eb95302d9fac44c8e922b173a576aaa9606d5.tar.bz2 |
Put back the declarativeData into its union so it doesn't take memory
As it was in commit 025dcc2bb
Reviewed-by: Thiago
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qobject_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/kernel/qobject_p.h b/src/corelib/kernel/qobject_p.h index eb8035c..f087407 100644 --- a/src/corelib/kernel/qobject_p.h +++ b/src/corelib/kernel/qobject_p.h @@ -194,11 +194,13 @@ public: #endif QList<QPointer<QObject> > eventFilters; - QObject *currentChildBeingDeleted; + union { + QObject *currentChildBeingDeleted; + QDeclarativeData *declarativeData; //extra data used by the DeclarativeUI project. + }; // these objects are all used to indicate that a QObject was deleted // plus QPointer, which keeps a separate list - QDeclarativeData *declarativeData; QAtomicPointer<QtSharedPointer::ExternalRefCountData> sharedRefcount; int *deleteWatch; }; |