diff options
Diffstat (limited to 'src/qml/qml/v8/qv4domerrors.cpp')
-rw-r--r-- | src/qml/qml/v8/qv4domerrors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv4domerrors.cpp b/src/qml/qml/v8/qv4domerrors.cpp index c0ea03f83f..16359285a4 100644 --- a/src/qml/qml/v8/qv4domerrors.cpp +++ b/src/qml/qml/v8/qv4domerrors.cpp @@ -41,7 +41,7 @@ using namespace QV4; void qt_add_domexceptions(ExecutionEngine *e) { Scope scope(e); - Scoped<Object> domexception(scope, e->newObject()); + ScopedObject domexception(scope, e->newObject()); domexception->defineReadonlyProperty(QStringLiteral("INDEX_SIZE_ERR"), Primitive::fromInt32(DOMEXCEPTION_INDEX_SIZE_ERR)); domexception->defineReadonlyProperty(QStringLiteral("DOMSTRING_SIZE_ERR"), Primitive::fromInt32(DOMEXCEPTION_DOMSTRING_SIZE_ERR)); domexception->defineReadonlyProperty(QStringLiteral("HIERARCHY_REQUEST_ERR"), Primitive::fromInt32(DOMEXCEPTION_HIERARCHY_REQUEST_ERR)); |