summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbindingoptimizations.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-08-11 04:15:30 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-08-11 04:15:30 (GMT)
commitfed8d73b0752b5f737082c534d39f350ca737a7b (patch)
tree8395c4a7553d4505a481c7669ade38b5c1a46cfd /src/declarative/qml/qmlbindingoptimizations.cpp
parenta57bcdde329ef4c9a71aa6ba714f5e30ffd5dc6d (diff)
downloadQt-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.cpp4
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()