diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2014-11-20 08:56:36 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-12-29 13:57:28 +0100 |
commit | 65953304a2775e69c7edd46b780aa39f769d32ac (patch) | |
tree | 901458eda459550eee285c34b511f04307710561 /src/qml/qml/qqmlengine.cpp | |
parent | 802a996693386791688a937a9b15ac6da278b5f0 (diff) |
Prepare for QQmlPropertyCache to become available in QJSEngine
The cache is seemingly tied to QQmlEngine, but it isn't. A lot of
times a QQmlEngine parameter is unnecessarily dragged around and the
engine member is option as well as it turns out.
Change-Id: Iffd2a5046e9785249689ebfcbc8a0ad509f76aea
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r-- | src/qml/qml/qqmlengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 22cf73c51d..f9de7adc93 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -2053,7 +2053,7 @@ QQmlPropertyCache *QQmlEnginePrivate::createCache(const QMetaObject *mo) return rv; } else { QQmlPropertyCache *super = cache(mo->superClass()); - QQmlPropertyCache *rv = super->copyAndAppend(q, mo); + QQmlPropertyCache *rv = super->copyAndAppend(mo); propertyCache.insert(mo, rv); return rv; } |