diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-04-15 10:24:39 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-04-26 16:33:56 +0000 |
commit | 01c0c0963794f4dd8c3601e8340cc3dc4dec41bd (patch) | |
tree | 91dc7d0bc38d8f03ddf6a2aff97754c1e9183f33 /src/qml/qml/qqmlabstractbinding.cpp | |
parent | f65f0d4e1da39a5f5fa92e0b8d9ba4ad346d78ef (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.cpp | 5 |
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>"); |