aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-12-30 16:04:32 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-08 12:34:17 +0100
commitb5c6b78ee4ff971c3224f9717496c9233e1e2d1d (patch)
treeb15fdb0eeb57dfe0e4f961b275f113b358a381fd /src/qml/types
parent2828ee37e28c255298c6864620620fa378d74ac3 (diff)
Further reduce v8engine dependencies
Change-Id: I9f50f5ed1928de0c389c9646b308b431b51dae37 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/types')
-rw-r--r--src/qml/types/qqmldelegatemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/types/qqmldelegatemodel.cpp b/src/qml/types/qqmldelegatemodel.cpp
index bd3ddcf0d1..a4d86b520c 100644
--- a/src/qml/types/qqmldelegatemodel.cpp
+++ b/src/qml/types/qqmldelegatemodel.cpp
@@ -2653,7 +2653,7 @@ void QQmlDelegateModelGroup::create(QQmlV4Function *args)
model->m_cache.at(it.cacheIndex)->releaseObject();
}
- args->setReturnValue(QV4::QObjectWrapper::wrap(QV8Engine::getV4(args->engine()), object));
+ args->setReturnValue(QV4::QObjectWrapper::wrap(args->v4engine(), object));
model->emitChanges();
}