aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbinding.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-07-31 09:43:43 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-01 13:17:51 +0000
commitf570d37d737b3e8443e45158c709a4aedf6c95f3 (patch)
treee7e70f13b3e3c7ac16f1bad394d323a7ad65ecbf /src/qml/qml/qqmlbinding.cpp
parente99038b24d8b9f4a8cc503d1e3f789a93a3e8330 (diff)
Fix a bunch of test failures for Function.prototype.toString()
Change-Id: I36f642e8db7f88698b25eed9e8a64ac2c5896b10 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlbinding.cpp')
-rw-r--r--src/qml/qml/qqmlbinding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlbinding.cpp b/src/qml/qml/qqmlbinding.cpp
index cf87d58e68..e38f379eb0 100644
--- a/src/qml/qml/qqmlbinding.cpp
+++ b/src/qml/qml/qqmlbinding.cpp
@@ -552,7 +552,7 @@ void QQmlBinding::setEnabled(bool e, QQmlPropertyData::WriteFlags flags)
QString QQmlBinding::expression() const
{
- return QStringLiteral("function() { [code] }");
+ return QStringLiteral("function() { [native code] }");
}
void QQmlBinding::setTarget(const QQmlProperty &prop)