From a913e326409062bbc1cad4d5898181c7b81cba23 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Mon, 28 Sep 2009 13:53:48 +1000 Subject: Give file and line information for script errors. --- src/declarative/qml/qmlvme.cpp | 1 + 1 file changed, 1 insertion(+) 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 &stack, QmlContext *ctxt, bind->m_mePtr = &bindValues.values[bindValues.count - 1]; bind->setTarget(mp); bind->addToObject(target); + bind->setSourceLocation(comp->url, instr.line); } break; -- cgit v0.12