From 2056538feab7739689742de4efe370b35864bc9a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 30 Dec 2014 11:39:53 +0100 Subject: Remove v8engine dependency in toVariant conversions Change-Id: I0f2f77c9cc268a0c5ca3ffe0cd66fc98bb1964b3 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlbinding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlbinding.cpp') diff --git a/src/qml/qml/qqmlbinding.cpp b/src/qml/qml/qqmlbinding.cpp index 9589ec63cb..a4e614f934 100644 --- a/src/qml/qml/qqmlbinding.cpp +++ b/src/qml/qml/qqmlbinding.cpp @@ -260,7 +260,7 @@ QVariant QQmlBinding::evaluate() ep->dereferenceScarceResources(); - return ep->v8engine()->toVariant(result, qMetaTypeId >()); + return QV8Engine::toVariant(scope.engine, result, qMetaTypeId >()); } QString QQmlBinding::expressionIdentifier(QQmlJavaScriptExpression *e) -- cgit v1.2.3