diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-03 14:08:55 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-03 14:39:29 +0200 |
commit | bf51873870f94f56e8dccf25fea67b120f2db98f (patch) | |
tree | 36d7a9969cf801c2c0d5d10735db3c1095ce2aa2 /src/qml/util | |
parent | b7fd57098fb4668dc896e14a95d9b577e6eb7ee6 (diff) |
Cleanup v8 Context handling
We don't need or use v8 Context objects, so it's
sufficient to have one global context for now. Remove
all code related to entering or leaving Context's.
Change-Id: I4f7ddaa4907e59de5713368fa13bbc40e5830542
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/util')
-rw-r--r-- | src/qml/util/qqmladaptormodel.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/util/qqmladaptormodel.cpp b/src/qml/util/qqmladaptormodel.cpp index 35cc2170ac..207b3f8a38 100644 --- a/src/qml/util/qqmladaptormodel.cpp +++ b/src/qml/util/qqmladaptormodel.cpp @@ -415,7 +415,6 @@ public: if (type->constructor.IsEmpty()) { QQmlAdaptorModelEngineData * const data = engineData(engine); v8::HandleScope handleScope; - v8::Context::Scope contextScope(engine->context()); type->initializeConstructor(data); type->constructor->SetAccessor(data->hasModelChildren(), get_hasModelChildren); } |