diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-11-21 13:18:23 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-12-11 08:40:48 +0100 |
commit | 4322c8d7686c7cbbdf348146d32d705007b21d56 (patch) | |
tree | c60d6568f3b47786b24c0d74eb6e61b7cac18add /tests | |
parent | ddfe9defa803fdbfab10ab58b77df242cdb4cedd (diff) |
Better encapsulate access to the global object
Change-Id: I8a76112d821cb3fc172ba0d16ee8410d39b4422a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qv4debugger/tst_qv4debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp b/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp index 4733c87290..ea2911fddd 100644 --- a/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp +++ b/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp @@ -84,7 +84,7 @@ public: QV4::Scoped<QV4::String> name(scope, v4->newString(functionName)); QV4::ScopedValue function(scope, BuiltinFunction::create(v4->rootContext(), name, injectedFunction)); - v4->globalObject->put(name, function); + v4->globalObject()->put(name, function); } signals: |