diff options
author | Michael Brasser <michael.brasser@live.com> | 2014-03-03 21:53:52 -0600 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-11 19:59:05 +0100 |
commit | b9fbb7d9c8abe3003f44ba2eee235adc13c81898 (patch) | |
tree | 6ad1ee9d94cf7e4ede0cec61f858be74aa427e65 /src/qml/qml/qqmlobjectcreator.cpp | |
parent | 92392c936f91412a278a3006f7538de81c856a7b (diff) |
Remove redundant QQmlBinding members.
This reduces the size of QQmlBinding by 12 bytes.
Task-number: QTBUG-37134
Change-Id: Id55257edec8cee88d863374e8a96d7eebbeaf523
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator.cpp')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp index 264ada2507..a5f7988bf8 100644 --- a/src/qml/qml/qqmlobjectcreator.cpp +++ b/src/qml/qml/qqmlobjectcreator.cpp @@ -845,8 +845,7 @@ bool QQmlObjectCreator::setPropertyBinding(QQmlPropertyData *property, const QV4 bs->takeExpression(expr); } else { - QQmlBinding *qmlBinding = new QQmlBinding(function, _scopeObject, context, - context->urlString, binding->valueLocation.line, binding->valueLocation.column); + QQmlBinding *qmlBinding = new QQmlBinding(function, _scopeObject, context); // When writing bindings to grouped properties implemented as value types, // such as point.x: { someExpression; }, then the binding is installed on |