aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/testtypes.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@live.com>2014-03-03 21:53:52 -0600
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 19:59:05 +0100
commitb9fbb7d9c8abe3003f44ba2eee235adc13c81898 (patch)
tree6ad1ee9d94cf7e4ede0cec61f858be74aa427e65 /tests/auto/qml/qqmllanguage/testtypes.cpp
parent92392c936f91412a278a3006f7538de81c856a7b (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 'tests/auto/qml/qqmllanguage/testtypes.cpp')
-rw-r--r--tests/auto/qml/qqmllanguage/testtypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmllanguage/testtypes.cpp b/tests/auto/qml/qqmllanguage/testtypes.cpp
index 08d4d557fd..fad5c1e65d 100644
--- a/tests/auto/qml/qqmllanguage/testtypes.cpp
+++ b/tests/auto/qml/qqmllanguage/testtypes.cpp
@@ -147,7 +147,7 @@ void CustomBinding::componentComplete()
int line;
ds >> line;
- QQmlBinding *binding = QQmlBinding::createBinding(QQmlBinding::Identifier(bindingId), m_target, qmlContext(this), QString(), line);
+ QQmlBinding *binding = QQmlBinding::createBinding(QQmlBinding::Identifier(bindingId), m_target, qmlContext(this));
QQmlProperty property(m_target, name, qmlContext(this));
binding->setTarget(property);