diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-08 15:56:03 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-08 19:55:58 +0200 |
commit | 2b0d3bf812273e762e7aa27a58909ade59590c0f (patch) | |
tree | 6475e09cfa3512a6bff77dd0947cd664a8b47ea0 /src/qml/qml/qqmlboundsignal.cpp | |
parent | 2b01b808e75041005bca903cf50f528716e285e3 (diff) |
Remove v8 dependencies from QQmlV4Handle
Change-Id: I87d2183738ec7cfeea846a28f2b9aed79a233f68
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal.cpp')
-rw-r--r-- | src/qml/qml/qqmlboundsignal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlboundsignal.cpp b/src/qml/qml/qqmlboundsignal.cpp index acb79032e7..44c1c52afa 100644 --- a/src/qml/qml/qqmlboundsignal.cpp +++ b/src/qml/qml/qqmlboundsignal.cpp @@ -238,7 +238,7 @@ void QQmlBoundSignalExpression::evaluate(void **a) //### optimization. Can go away if we switch to metaTypeToJS, or be expanded otherwise args[ii] = v8::Integer::New(*reinterpret_cast<const int*>(a[ii + 1])); } else if (type == qMetaTypeId<QQmlV4Handle>()) { - args[ii] = reinterpret_cast<QQmlV4Handle *>(a[ii + 1])->toV8Handle(); + args[ii] = reinterpret_cast<QQmlV4Handle *>(a[ii + 1])->toValue(); } else if (ep->isQObject(type)) { if (!*reinterpret_cast<void* const *>(a[ii + 1])) args[ii] = QV4::Value::nullValue(); |