summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 03:34:53 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 03:34:53 (GMT)
commit32bcf89a330d422b0b99ac9090b104016418d07f (patch)
tree6ded1dbdcd8d04413d566add2332bb91e33733d9 /src/declarative/qml/qmlcontext.cpp
parent3ed9d92ac183eb4415523d95c9eef4454c473c53 (diff)
downloadQt-32bcf89a330d422b0b99ac9090b104016418d07f.zip
Qt-32bcf89a330d422b0b99ac9090b104016418d07f.tar.gz
Qt-32bcf89a330d422b0b99ac9090b104016418d07f.tar.bz2
Support binding optimizer and deferred properties
Diffstat (limited to 'src/declarative/qml/qmlcontext.cpp')
-rw-r--r--src/declarative/qml/qmlcontext.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp
index 49bb59c..4467cce 100644
--- a/src/declarative/qml/qmlcontext.cpp
+++ b/src/declarative/qml/qmlcontext.cpp
@@ -59,7 +59,7 @@ QT_BEGIN_NAMESPACE
QmlContextPrivate::QmlContextPrivate()
: parent(0), engine(0), isInternal(false), propertyNames(0), notifyIndex(-1),
highPriorityCount(0), imports(0), expressions(0), contextObjects(0),
- idValues(0), idValueCount(0)
+ idValues(0), idValueCount(0), optimizedBindings(0)
{
}
@@ -303,6 +303,9 @@ QmlContext::~QmlContext()
if (d->imports)
d->imports->release();
+
+ if (d->optimizedBindings)
+ d->optimizedBindings->release();
}
void QmlContextPrivate::invalidateEngines()