diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-08-11 15:43:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-08-19 11:38:31 +0000 |
commit | fec775d221efcf55986aec7ca0250c7e63cfba0c (patch) | |
tree | 0f40a2afe696676d570b07d00d22e6f27d42e2c7 /src/qml/qml/qqmlpropertycache_p.h | |
parent | ef4ad30e7f16185b9bd299457836a27b56ce1fa5 (diff) |
Hold a pointer to the QV4::ExecutionEngine in the property cache
This makes more sense than a pointer to the QQmlEngine.
Change-Id: Ic6037b0df63b6cf1585539bc3ac78822f0e69d02
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index 4d8c6dd9a5..4f203a837c 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -243,8 +243,8 @@ class QQmlPropertyCacheMethodArguments; class Q_QML_PRIVATE_EXPORT QQmlPropertyCache : public QQmlRefCount, public QQmlCleanup { public: - QQmlPropertyCache(QJSEngine *); - QQmlPropertyCache(QJSEngine *, const QMetaObject *); + QQmlPropertyCache(QV4::ExecutionEngine *); + QQmlPropertyCache(QV4::ExecutionEngine *, const QMetaObject *); virtual ~QQmlPropertyCache(); void update(const QMetaObject *); @@ -377,7 +377,7 @@ private: _hasPropertyOverrides |= isOverride; } - QJSEngine *engine; + QV4::ExecutionEngine *engine; QQmlPropertyCache *_parent; int propertyIndexCacheStart; |