diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-04-13 13:30:25 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-04-25 14:10:47 +0000 |
commit | 57890547ebb31608df179da2fd3f8a4cd25995dc (patch) | |
tree | 595ff9191ac9f2630f62e9c1266b3a68a6a35238 /src/qml/qml/qqmlvaluetypewrapper.cpp | |
parent | 54daa0035c9649ab92a70ae050534832b37c09be (diff) |
Remove the QQmlContextData pointer from QQmlBinding
The pointer is never used in practice, so let's get rid of it and
save some memory.
Change-Id: I8dccafb4cd3e14397fcf1c30633d60ea7ea9ce0c
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlvaluetypewrapper.cpp')
-rw-r--r-- | src/qml/qml/qqmlvaluetypewrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvaluetypewrapper.cpp b/src/qml/qml/qqmlvaluetypewrapper.cpp index 77d76e89c8..93df3a6d89 100644 --- a/src/qml/qml/qqmlvaluetypewrapper.cpp +++ b/src/qml/qml/qqmlvaluetypewrapper.cpp @@ -434,7 +434,7 @@ void QQmlValueTypeWrapper::put(Managed *m, String *name, const Value &value) bindingFunction->initBindingLocation(); newBinding = new QQmlBinding(value, reference->d()->object, context); - newBinding->setTarget(reference->d()->object, cacheData, context); + newBinding->setTarget(reference->d()->object, cacheData); } if (reference) { |