summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-08-04 21:05:35 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-08-04 21:05:35 +0200
commit2843c97f5310f4636c933ced56570ab7db2b707e (patch)
tree1b86b1ff99f83dc19a441b238466cd38f8fd3098
parent8e01aa83880bf9cc669106f1e219abd3b3fca186 (diff)
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
-rw-r--r--src/gui/kernel/qwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 075f9c3e8..a827967af 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())