diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-04-28 05:36:21 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-29 13:14:45 +0200 |
commit | 96d40fd09e4a59feb2cd8898267e6682fee2129d (patch) | |
tree | cde226e9f7699226536b3763f3628c9278a1c1cc /src/qml/qml/v8/qv8include.cpp | |
parent | 1a6dd638b830a5353fb2321b74a57d380539c92d (diff) |
Move more methods on QV8Engine over to use v4 based syntax
Change-Id: I7d3501a2c4cd0d749c7c30b5c60fee12cde58aa4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8include.cpp')
-rw-r--r-- | src/qml/qml/v8/qv8include.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv8include.cpp b/src/qml/qml/v8/qv8include.cpp index b5ba87b718..eb897fa42f 100644 --- a/src/qml/qml/v8/qv8include.cpp +++ b/src/qml/qml/v8/qv8include.cpp @@ -96,7 +96,7 @@ void QV8Include::callback(QV8Engine *engine, v8::Handle<v8::Function> callback, if (!callback.IsEmpty()) { v8::Handle<v8::Value> args[] = { status }; v8::TryCatch tc; - callback->Call(engine->global(), 1, args); + callback->Call(v8::Value::fromV4Value(engine->global()), 1, args); } } |