diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-11 04:15:30 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-11 04:15:30 (GMT) |
commit | fed8d73b0752b5f737082c534d39f350ca737a7b (patch) | |
tree | 8395c4a7553d4505a481c7669ade38b5c1a46cfd /src/declarative/qml/qmlbindingoptimizations.cpp | |
parent | a57bcdde329ef4c9a71aa6ba714f5e30ffd5dc6d (diff) | |
download | Qt-fed8d73b0752b5f737082c534d39f350ca737a7b.zip Qt-fed8d73b0752b5f737082c534d39f350ca737a7b.tar.gz Qt-fed8d73b0752b5f737082c534d39f350ca737a7b.tar.bz2 |
Move the binding's "mePtr" into QmlAbstractBinding
Now optimizations get deletion protection too.
Diffstat (limited to 'src/declarative/qml/qmlbindingoptimizations.cpp')
-rw-r--r-- | src/declarative/qml/qmlbindingoptimizations.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlbindingoptimizations.cpp b/src/declarative/qml/qmlbindingoptimizations.cpp index a10b1e3..e1f4a90 100644 --- a/src/declarative/qml/qmlbindingoptimizations.cpp +++ b/src/declarative/qml/qmlbindingoptimizations.cpp @@ -72,6 +72,8 @@ void QmlBinding_Id::setEnabled(bool e) } else { removeFromObject(); } + + QmlAbstractBinding::setEnabled(e); } int QmlBinding_Id::propertyIndex() @@ -147,6 +149,8 @@ void QmlBinding_ObjProperty::setEnabled(bool e) } else { removeFromObject(); } + + QmlAbstractBinding::setEnabled(e); } int QmlBinding_ObjProperty::propertyIndex() |