diff options
author | hjk <qtc-committer@nokia.com> | 2009-11-11 15:34:41 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-11-11 15:34:41 (GMT) |
commit | e59578eb338b7374a361e4eca55589996c74ecbb (patch) | |
tree | 58536d07270c45e4db05d7c94da5ed3e091e22bd | |
parent | 96592943598151ea3f64364eab3475904931ca16 (diff) | |
download | Qt-e59578eb338b7374a361e4eca55589996c74ecbb.zip Qt-e59578eb338b7374a361e4eca55589996c74ecbb.tar.gz Qt-e59578eb338b7374a361e4eca55589996c74ecbb.tar.bz2 |
QObjectPrivate/!QT3_SUPPORT: replace an unused QList by an unused void*
There is no need to bump reference counts for unused place holders.
Reviewed-by: mae
-rw-r--r-- | src/corelib/kernel/qobject_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qobject_p.h b/src/corelib/kernel/qobject_p.h index f087407..425a1df 100644 --- a/src/corelib/kernel/qobject_p.h +++ b/src/corelib/kernel/qobject_p.h @@ -189,8 +189,8 @@ public: QList<QObject *> pendingChildInsertedEvents; #else // preserve binary compatibility with code compiled without Qt 3 support - // ### why? - QList<QObject *> unused; + // keeping the binary layout stable helps the Qt Creator debugger + void *unused; #endif QList<QPointer<QObject> > eventFilters; |