diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-01-09 14:32:57 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2015-01-12 11:04:26 +0100 |
commit | a8e74cc2185e786ff0ae96135251354964417f95 (patch) | |
tree | 40056b951cf5fb3e900225fc448882a53a4e6b7f /src/qml/jsruntime/qv4errorobject.cpp | |
parent | c10527b7c36a0c1ad49faaec5e4ea3dbb4f78b6c (diff) |
Remove subtype usage in ErrorObject
Change-Id: I77e23516270a2330ec22215aef6782a38d7fca09
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4errorobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4errorobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4errorobject.cpp b/src/qml/jsruntime/qv4errorobject.cpp index 849c560024..eda371433a 100644 --- a/src/qml/jsruntime/qv4errorobject.cpp +++ b/src/qml/jsruntime/qv4errorobject.cpp @@ -76,7 +76,7 @@ Heap::ErrorObject::ErrorObject(InternalClass *ic, QV4::Object *prototype) Heap::ErrorObject::ErrorObject(InternalClass *ic, QV4::Object *prototype, const ValueRef message, ErrorType t) : Heap::Object(ic, prototype) { - subtype = t; + errorType = t; Scope scope(ic->engine); Scoped<QV4::ErrorObject> e(scope, this); @@ -98,7 +98,7 @@ Heap::ErrorObject::ErrorObject(InternalClass *ic, QV4::Object *prototype, const Heap::ErrorObject::ErrorObject(InternalClass *ic, QV4::Object *prototype, const QString &message, ErrorObject::ErrorType t) : Heap::Object(ic, prototype) { - subtype = t; + errorType = t; Scope scope(ic->engine); Scoped<QV4::ErrorObject> e(scope, this); @@ -120,7 +120,7 @@ Heap::ErrorObject::ErrorObject(InternalClass *ic, QV4::Object *prototype, const Heap::ErrorObject::ErrorObject(InternalClass *ic, QV4::Object *prototype, const QString &message, const QString &fileName, int line, int column, ErrorObject::ErrorType t) : Heap::Object(ic, prototype) { - subtype = t; + errorType = t; Scope scope(ic->engine); Scoped<QV4::ErrorObject> e(scope, this); |