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/qv8sequencewrapper_p_p.h | |
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/qv8sequencewrapper_p_p.h')
-rw-r--r-- | src/qml/qml/v8/qv8sequencewrapper_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv8sequencewrapper_p_p.h b/src/qml/qml/v8/qv8sequencewrapper_p_p.h index 0c486b8321..80f68c4674 100644 --- a/src/qml/qml/v8/qv8sequencewrapper_p_p.h +++ b/src/qml/qml/v8/qv8sequencewrapper_p_p.h @@ -482,7 +482,7 @@ static QString convertUrlToString(QV8Engine *, const QUrl &v) bool operator()(SequenceElementType e0, SequenceElementType e1) \ { \ v8::Handle<v8::Value> argv[2] = { eng->fromVariant(e0), eng->fromVariant(e1) }; \ - v8::Handle<v8::Value> compareValue = jsFn->Call(eng->global(), 2, argv); \ + v8::Handle<v8::Value> compareValue = jsFn->Call(v8::Value::fromV4Value(eng->global()), 2, argv); \ return compareValue->NumberValue() < 0; \ } \ private: \ |