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/qqmlpropertycache_p.h | |
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/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index 0fd9252754..fe509843ab 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -67,7 +67,7 @@ QT_BEGIN_NAMESPACE namespace QtQml { -struct QmlObjectCreator; +class QmlObjectCreator; } class QV8Engine; @@ -343,7 +343,7 @@ protected: private: friend class QQmlEnginePrivate; friend class QQmlCompiler; - friend struct QtQml::QmlObjectCreator; + friend class QtQml::QmlObjectCreator; inline QQmlPropertyCache *copy(int reserve); |