From 9c7c859647771d5d2fa466b0a3ff9d408edecd38 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Thu, 18 Jun 2009 18:30:56 +1000 Subject: Initialize declarative data members correctly This was (obviously) causing a crash --- src/declarative/qml/qmldeclarativedata_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/qml/qmldeclarativedata_p.h b/src/declarative/qml/qmldeclarativedata_p.h index b8d3cf4..85a80fa 100644 --- a/src/declarative/qml/qmldeclarativedata_p.h +++ b/src/declarative/qml/qmldeclarativedata_p.h @@ -64,7 +64,7 @@ class QmlCompiledComponent; class QmlInstanceDeclarativeData : public QmlSimpleDeclarativeData { public: - QmlInstanceDeclarativeData() { flags |= Instance; } + QmlInstanceDeclarativeData() : deferredComponent(0) { flags |= Instance; } virtual void destroyed(QObject *); -- cgit v0.12