aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlobjectcreator.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-04-13 13:30:25 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-04-25 14:10:47 +0000
commit57890547ebb31608df179da2fd3f8a4cd25995dc (patch)
tree595ff9191ac9f2630f62e9c1266b3a68a6a35238 /src/qml/qml/qqmlobjectcreator.cpp
parent54daa0035c9649ab92a70ae050534832b37c09be (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/qqmlobjectcreator.cpp')
-rw-r--r--src/qml/qml/qqmlobjectcreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp
index 3c2f3690b9..ba18967150 100644
--- a/src/qml/qml/qqmlobjectcreator.cpp
+++ b/src/qml/qml/qqmlobjectcreator.cpp
@@ -831,7 +831,7 @@ bool QQmlObjectCreator::setPropertyBinding(const QQmlPropertyData *property, con
sharedState->allCreatedBindings.push(qmlBinding);
qmlBinding->m_mePtr = &sharedState->allCreatedBindings.top();
- qmlBinding->setTarget(_bindingTarget, targetCorePropertyData, context);
+ qmlBinding->setTarget(_bindingTarget, targetCorePropertyData);
if (targetCorePropertyData.isAlias()) {
QQmlAbstractBinding *old =