aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbinding.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-06-07 23:21:27 +0200
committerLars Knoll <lars.knoll@digia.com>2013-06-08 22:40:56 +0200
commitb425fbbd0ae9ff00f60af222bca08096719843f4 (patch)
treed304f1e09fbcbcb0a3c47c60e6ba5579368f2236 /src/qml/qml/qqmlbinding.cpp
parentaeb5e8319c14721a03c3ab797c893efeb29bb162 (diff)
Fix qqmlecmascript::enums and nonNotifyable
In the v8 bindings in expressionIdentifier we used to print the url with line number and only in the base class we printed the expression itself. With qv8bindings.cpp gone, we can do that now in the base class, as expected by the test. Adjusted the test also by columns. Change-Id: I8d532d21baf5bf2fbfcca56c2657a1d65025fe84 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
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 79b1b2efc5..eff17ddd9a 100644
--- a/src/qml/qml/qqmlbinding.cpp
+++ b/src/qml/qml/qqmlbinding.cpp
@@ -301,7 +301,7 @@ QString QQmlBinding::expressionIdentifier(QQmlJavaScriptExpression *e)
{
QQmlBinding *This = static_cast<QQmlBinding *>(e);
- return QLatin1Char('"') + QString::fromUtf8(This->m_expression) + QLatin1Char('"');
+ return This->m_url + QLatin1Char(':') + QString::number(This->m_lineNumber) + QLatin1Char(':') + QString::number(This->m_columnNumber);
}
void QQmlBinding::expressionChanged(QQmlJavaScriptExpression *e)