summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbinding.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-16 05:31:19 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-16 05:31:19 (GMT)
commit0bd5787e4d4c89fd860ff70bcdb0ddb9e4a4f8db (patch)
tree16f14c8316464650177ea6a0a38bb7a2dba0b0c2 /src/declarative/qml/qmlbinding.cpp
parentdbd48151f6260743056edd9b906fc28acd02b390 (diff)
downloadQt-0bd5787e4d4c89fd860ff70bcdb0ddb9e4a4f8db.zip
Qt-0bd5787e4d4c89fd860ff70bcdb0ddb9e4a4f8db.tar.gz
Qt-0bd5787e4d4c89fd860ff70bcdb0ddb9e4a4f8db.tar.bz2
Binding optimizer extensions
Diffstat (limited to 'src/declarative/qml/qmlbinding.cpp')
-rw-r--r--src/declarative/qml/qmlbinding.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlbinding.cpp b/src/declarative/qml/qmlbinding.cpp
index 56d5807..d1a8fe8 100644
--- a/src/declarative/qml/qmlbinding.cpp
+++ b/src/declarative/qml/qmlbinding.cpp
@@ -276,6 +276,11 @@ QmlAbstractBinding::~QmlAbstractBinding()
*m_mePtr = 0;
}
+void QmlAbstractBinding::destroy()
+{
+ delete this;
+}
+
void QmlAbstractBinding::addToObject(QObject *object)
{
Q_ASSERT(object);