diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-09-06 14:14:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-08 09:00:31 +0200 |
commit | 8ac5506f2a6a8f1f6f50d3175a28e3e695f65a81 (patch) | |
tree | 00582e04f79809a5e8b07f989c0df995af6b6805 /src/qml/qml/qqmlcomponent.cpp | |
parent | 2ed0cd0602093d316bfbce6b1f3f8f8bfe026fca (diff) |
Fix error reporting for wrong signal parameter declarations
Record the line/column in the signal and report it together with the url
if there was an error in declaring the signals.
Change-Id: Idbbee9be271b0ca55709ffc1791637595d7ebd89
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcomponent.cpp')
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index ff961c7822..a70b9064d9 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -895,7 +895,7 @@ QQmlComponentPrivate::beginCreate(QQmlContextData *context) enginePriv->referenceScarceResources(); QObject *rv = 0; if (enginePriv->useNewCompiler) { - state.creator = new QtQml::QmlObjectCreator(engine, context, cc); + state.creator = new QtQml::QmlObjectCreator(engine, url, context, cc); rv = state.creator->create(); if (!rv) state.errors = state.creator->errors; |