diff options
Diffstat (limited to 'src/v4/qv4errorobject.cpp')
-rw-r--r-- | src/v4/qv4errorobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4errorobject.cpp b/src/v4/qv4errorobject.cpp index 9dc884e058..f576b73211 100644 --- a/src/v4/qv4errorobject.cpp +++ b/src/v4/qv4errorobject.cpp @@ -230,7 +230,7 @@ void ErrorPrototype::init(ExecutionContext *ctx, const Value &ctor, Object *obj) obj->defineDefaultProperty(ctx, QStringLiteral("name"), Value::fromString(ctx, QStringLiteral("Error"))); } -Value ErrorPrototype::method_toString(ExecutionContext *ctx) +Value ErrorPrototype::method_toString(CallContext *ctx) { Object *o = ctx->thisObject.asObject(); if (!o) |