diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-18 08:30:56 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-18 08:30:56 (GMT) |
commit | 9c7c859647771d5d2fa466b0a3ff9d408edecd38 (patch) | |
tree | 7fc2925563332a32673f8238043c8cd964a0194c /src/declarative/qml/qmldeclarativedata_p.h | |
parent | 700d5f11dab745d920026b781f66b09e60499013 (diff) | |
download | Qt-9c7c859647771d5d2fa466b0a3ff9d408edecd38.zip Qt-9c7c859647771d5d2fa466b0a3ff9d408edecd38.tar.gz Qt-9c7c859647771d5d2fa466b0a3ff9d408edecd38.tar.bz2 |
Initialize declarative data members correctly
This was (obviously) causing a crash
Diffstat (limited to 'src/declarative/qml/qmldeclarativedata_p.h')
-rw-r--r-- | src/declarative/qml/qmldeclarativedata_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 *); |