summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-28 03:53:48 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-28 03:53:48 (GMT)
commita913e326409062bbc1cad4d5898181c7b81cba23 (patch)
tree57098c7db344dcbbaa29efbc57439135708d03a8 /src
parent7d0071418f93c5cc5ce04d96a321843db5a0c55b (diff)
downloadQt-a913e326409062bbc1cad4d5898181c7b81cba23.zip
Qt-a913e326409062bbc1cad4d5898181c7b81cba23.tar.gz
Qt-a913e326409062bbc1cad4d5898181c7b81cba23.tar.bz2
Give file and line information for script errors.
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qmlvme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp
index e266a91..44b17e6 100644
--- a/src/declarative/qml/qmlvme.cpp
+++ b/src/declarative/qml/qmlvme.cpp
@@ -588,6 +588,7 @@ QObject *QmlVME::run(QStack<QObject *> &stack, QmlContext *ctxt,
bind->m_mePtr = &bindValues.values[bindValues.count - 1];
bind->setTarget(mp);
bind->addToObject(target);
+ bind->setSourceLocation(comp->url, instr.line);
}
break;