diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-04 19:05:35 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-04 19:05:35 (GMT) |
commit | 2843c97f5310f4636c933ced56570ab7db2b707e (patch) | |
tree | 1b86b1ff99f83dc19a441b238466cd38f8fd3098 /src/gui/kernel/qwidget.cpp | |
parent | 8e01aa83880bf9cc669106f1e219abd3b3fca186 (diff) | |
download | Qt-2843c97f5310f4636c933ced56570ab7db2b707e.zip Qt-2843c97f5310f4636c933ced56570ab7db2b707e.tar.gz Qt-2843c97f5310f4636c933ced56570ab7db2b707e.tar.bz2 |
Fix compilation after my last change to qobject_p.h
I renamed deletionNotification back to its original name. I had
forgotten that QWidget needed a similar change.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 075f9c3..a827967 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -1375,9 +1375,9 @@ QWidget::~QWidget() // set all QPointers for this object to zero QObjectPrivate::clearGuards(this); - if (d->deletionNotification) { - d->deletionNotification->destroyed(this); - d->deletionNotification = 0; // don't activate again in ~QObject + if (d->declarativeData) { + d->declarativeData->destroyed(this); + d->declarativeData = 0; // don't activate again in ~QObject } if (!d->children.isEmpty()) |