summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-27 22:11:36 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-27 22:11:36 (GMT)
commit5cda1949899488ce19c4add30a9e0d82326499de (patch)
tree7d8b0ed091045e3e06a340b781e75663b8ac1d65 /src/declarative/qml/qmlmetaproperty_p.h
parentadc7ac560f6e52167d27ed5d3a3c92e95fb69691 (diff)
downloadQt-5cda1949899488ce19c4add30a9e0d82326499de.zip
Qt-5cda1949899488ce19c4add30a9e0d82326499de.tar.gz
Qt-5cda1949899488ce19c4add30a9e0d82326499de.tar.bz2
Fix crashes on exit.
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty_p.h')
-rw-r--r--src/declarative/qml/qmlmetaproperty_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlmetaproperty_p.h b/src/declarative/qml/qmlmetaproperty_p.h
index 7efdb6e..d135eda 100644
--- a/src/declarative/qml/qmlmetaproperty_p.h
+++ b/src/declarative/qml/qmlmetaproperty_p.h
@@ -54,6 +54,7 @@
//
#include "qmlmetaproperty.h"
+#include "private/qguard_p.h"
QT_BEGIN_NAMESPACE
@@ -80,7 +81,7 @@ public:
int valueTypeId;
uint type;
int attachedFunc;
- QObject *object;
+ QGuard<QObject> object;
int propType;
mutable QmlMetaProperty::PropertyCategory category;