summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-07 02:30:34 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-07 02:30:34 (GMT)
commit32fdd579afc2933ccc5fc658553cf18cf2057ff2 (patch)
treebebae12f69e924647664ccf6e0eca8abea86091a /src
parent80402c2731764d40598b6d976c6dba36ee35af28 (diff)
downloadQt-32fdd579afc2933ccc5fc658553cf18cf2057ff2.zip
Qt-32fdd579afc2933ccc5fc658553cf18cf2057ff2.tar.gz
Qt-32fdd579afc2933ccc5fc658553cf18cf2057ff2.tar.bz2
Compile
Apply the ~QObject QDeclarativeData logic to ~QWidget
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index e88026c..9353d10 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -1478,7 +1478,7 @@ QWidget::~QWidget()
QObjectPrivate::clearGuards(this);
if (d->declarativeData) {
- d->declarativeData->destroyed(this);
+ QDeclarativeData::destroyed(d->declarativeData, this);
d->declarativeData = 0; // don't activate again in ~QObject
}