diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-07 12:29:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-07 14:32:08 +0200 |
commit | 2fc19b516f1bb0a67609570a6ca62f42db7f0f47 (patch) | |
tree | 8a00d4014479ad446bc8228835e6bdc650457358 /src/qml/qml/v8/qv8contextwrapper.cpp | |
parent | 41f8a7c0f645e04dba5952c4cdb87828ea2a884b (diff) |
Remove more v8::Persistent usages
Change-Id: Ifa1706e2e609ded86a8bc1a840ca2ed36b869098
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8contextwrapper.cpp')
-rw-r--r-- | src/qml/qml/v8/qv8contextwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv8contextwrapper.cpp b/src/qml/qml/v8/qv8contextwrapper.cpp index e36665027f..cc0e010b44 100644 --- a/src/qml/qml/v8/qv8contextwrapper.cpp +++ b/src/qml/qml/v8/qv8contextwrapper.cpp @@ -282,7 +282,7 @@ v8::Handle<v8::Value> QV8ContextWrapper::Getter(v8::Handle<v8::String> property, if (r.scriptIndex != -1) { int index = r.scriptIndex; if (index < context->importedScripts.count()) - return context->importedScripts.at(index); + return context->importedScripts.at(index).value(); else return QV4::Value::undefinedValue(); } else if (r.type) { |