From 8ac5506f2a6a8f1f6f50d3175a28e3e695f65a81 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 6 Sep 2013 14:14:20 +0200 Subject: 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 --- src/qml/qml/qqmlpropertycache_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/qml/qqmlpropertycache_p.h') 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); -- cgit v1.2.3