diff options
| author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2014-11-20 09:07:52 +0100 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-12-29 14:39:22 +0100 |
| commit | efc3cc717ac1a62965465e909cc99acef627cdb1 (patch) | |
| tree | 9d181ca8e9e299fa99b9b7598bfb83bc53056dde /src/qml/jsruntime/qv4script.cpp | |
| parent | 65953304a2775e69c7edd46b780aa39f769d32ac (diff) | |
Make QQmlPropertyCache available in QJSEngine
The QQmlEngine has two containers for property caches, one for QML types and
one for all-purpose meta-objects. The latter is rather useful and now being
moved to QJSEngine to be available there.
Change-Id: Ieab65c400b8a2e410e5f9eee6d603162dbb864d9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp index 088e9616ce..38d2c12cfb 100644 --- a/src/qml/jsruntime/qv4script.cpp +++ b/src/qml/jsruntime/qv4script.cpp @@ -176,7 +176,7 @@ Heap::FunctionObject *QmlBindingWrapper::createQmlCallableForFunction(QQmlContex if (!signalParameters.isEmpty()) { if (error) - QQmlPropertyCache::signalParameterStringForJS(qmlContext->engine, signalParameters, error); + QQmlPropertyCache::signalParameterStringForJS(engine, signalParameters, error); QV4::ScopedProperty p(valueScope); QV4::ScopedString s(valueScope); int index = 0; |
