aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlabstractbinding.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-04-15 10:24:39 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-04-26 16:33:56 +0000
commit01c0c0963794f4dd8c3601e8340cc3dc4dec41bd (patch)
tree91dc7d0bc38d8f03ddf6a2aff97754c1e9183f33 /src/qml/qml/qqmlabstractbinding.cpp
parentf65f0d4e1da39a5f5fa92e0b8d9ba4ad346d78ef (diff)
Get rid of QQmlBinding::retargetBinding()
Instead call setTarget directly and properly resolve the required QQmlPropertyData. Saves some memory for bindings to value types. Change-Id: I542b456685955add7d395764ff85cb3098b3f208 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlabstractbinding.cpp')
-rw-r--r--src/qml/qml/qqmlabstractbinding.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/qml/qqmlabstractbinding.cpp b/src/qml/qml/qqmlabstractbinding.cpp
index fd5a72eff8..051125a8d9 100644
--- a/src/qml/qml/qqmlabstractbinding.cpp
+++ b/src/qml/qml/qqmlabstractbinding.cpp
@@ -191,11 +191,6 @@ void QQmlAbstractBinding::clear()
}
}
-void QQmlAbstractBinding::retargetBinding(QObject *, int)
-{
- qFatal("QQmlAbstractBinding::retargetBinding() called on illegal binding.");
-}
-
QString QQmlAbstractBinding::expression() const
{
return QLatin1String("<Unknown>");