From 346662cb011b7962a8cabf6d55742cd050a6ba6c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 8 Sep 2013 11:05:20 +0200 Subject: Fix error reporting timing Errors for example in signal declarations are usually reported in the loader thread, during property cache construction. This patch separates out the property cache population into QQmlPropertyCacheCreator, runs it from the loader thread and reduces the QQmlObjectCreator to merely set the properties/bindings/ functions on the object. This also enables location tracking for signal declarations and their error reporting. Change-Id: Ief1ffbb3113f8279a50d1a12dab8dbe096702a60 Reviewed-by: Lars Knoll --- src/qml/qml/qqmlcomponent_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlcomponent_p.h') diff --git a/src/qml/qml/qqmlcomponent_p.h b/src/qml/qml/qqmlcomponent_p.h index 3bd0a194df..08e4dcea7d 100644 --- a/src/qml/qml/qqmlcomponent_p.h +++ b/src/qml/qml/qqmlcomponent_p.h @@ -116,7 +116,7 @@ public: } // --- new compiler - QtQml::QmlObjectCreator *creator; + QmlObjectCreator *creator; // --- old compiler QQmlVME vme; // --- -- cgit v1.2.3