aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmldata_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-07 12:29:30 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-07 14:32:08 +0200
commit2fc19b516f1bb0a67609570a6ca62f42db7f0f47 (patch)
tree8a00d4014479ad446bc8228835e6bdc650457358 /src/qml/qml/qqmldata_p.h
parent41f8a7c0f645e04dba5952c4cdb87828ea2a884b (diff)
Remove more v8::Persistent usages
Change-Id: Ifa1706e2e609ded86a8bc1a840ca2ed36b869098 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmldata_p.h')
-rw-r--r--src/qml/qml/qqmldata_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/qml/qqmldata_p.h b/src/qml/qml/qqmldata_p.h
index 14f1fef90a..096e358a73 100644
--- a/src/qml/qml/qqmldata_p.h
+++ b/src/qml/qml/qqmldata_p.h
@@ -57,6 +57,8 @@
#include <private/qobject_p.h>
#include <private/qv8_p.h>
+#include <private/qv4value_p.h>
+
QT_BEGIN_NAMESPACE
template <class Key, class T> class QHash;
@@ -177,7 +179,7 @@ public:
unsigned int deferredIdx;
quint32 v8objectid;
- v8::Persistent<v8::Object> v8object;
+ QV4::PersistentValue v8object;
QQmlPropertyCache *propertyCache;