aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8/qv4sqlerrors.cpp
diff options
context:
space:
mode:
authorOleg Shparber <trollixx@gmail.com>2014-12-31 10:37:47 -0800
committerOleg Shparber <trollixx@gmail.com>2015-01-03 23:29:57 +0100
commit2fe82c505d09fdf372f1d4c5992a3a0b0dc98f33 (patch)
tree3961702f98d9f553e4c90e9eb074a8096c48ad05 /src/qml/qml/v8/qv4sqlerrors.cpp
parent4a9ed3de7d92809cf575f245f55d4f422b4983c3 (diff)
Use QV4::ScopedObject typedef instead of actual type
Change-Id: I0b68c534ea513a7c230b12114f6b42b069f9864b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv4sqlerrors.cpp')
-rw-r--r--src/qml/qml/v8/qv4sqlerrors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qv4sqlerrors.cpp b/src/qml/qml/v8/qv4sqlerrors.cpp
index 77e2257b3e..795ab5fb47 100644
--- a/src/qml/qml/v8/qv4sqlerrors.cpp
+++ b/src/qml/qml/v8/qv4sqlerrors.cpp
@@ -42,7 +42,7 @@ using namespace QV4;
void qt_add_sqlexceptions(QV4::ExecutionEngine *engine)
{
Scope scope(engine);
- Scoped<Object> sqlexception(scope, engine->newObject());
+ ScopedObject sqlexception(scope, engine->newObject());
sqlexception->defineReadonlyProperty(QStringLiteral("UNKNOWN_ERR"), Primitive::fromInt32(SQLEXCEPTION_UNKNOWN_ERR));
sqlexception->defineReadonlyProperty(QStringLiteral("DATABASE_ERR"), Primitive::fromInt32(SQLEXCEPTION_DATABASE_ERR));
sqlexception->defineReadonlyProperty(QStringLiteral("VERSION_ERR"), Primitive::fromInt32(SQLEXCEPTION_VERSION_ERR));