aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmllistwrapper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmllistwrapper_p.h')
-rw-r--r--src/qml/qml/qqmllistwrapper_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/qml/qqmllistwrapper_p.h b/src/qml/qml/qqmllistwrapper_p.h
index 83624d1423..c87b9b22d5 100644
--- a/src/qml/qml/qqmllistwrapper_p.h
+++ b/src/qml/qml/qqmllistwrapper_p.h
@@ -54,8 +54,9 @@
//
#include <QtCore/qglobal.h>
+#include <QtCore/qpointer.h>
+
#include <QtQml/qqmllist.h>
-#include <private/qqmlguard_p.h>
#include <private/qv4value_p.h>
#include <private/qv4object_p.h>
@@ -88,7 +89,7 @@ public:
private:
QV8Engine *v8;
- QQmlGuard<QObject> object;
+ QPointer<QObject> object;
QQmlListProperty<QObject> property;
int propertyType;