aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4booleanobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-05 21:03:37 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:48:55 +0200
commit1b008d6fb89c82d4a31d30cc1abe3128c723a851 (patch)
tree755473e6db6f129577d1600c418c606d3376bbdd /src/qml/jsruntime/qv4booleanobject.cpp
parent393c92a82170260fc322f7fc389a5594d71a8876 (diff)
Convert Boolean, Number and DateObject
Change-Id: I8815578422fe1af87eb5f02899f35131fea70b76 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4booleanobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4booleanobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4booleanobject.cpp b/src/qml/jsruntime/qv4booleanobject.cpp
index 662ec64efb..b2851abd7d 100644
--- a/src/qml/jsruntime/qv4booleanobject.cpp
+++ b/src/qml/jsruntime/qv4booleanobject.cpp
@@ -87,7 +87,7 @@ ReturnedValue BooleanPrototype::method_toString(CallContext *ctx)
Scoped<BooleanObject> thisObject(scope, ctx->callData->thisObject);
if (!thisObject)
return ctx->throwTypeError();
- result = thisObject->value.booleanValue();
+ result = thisObject->value().booleanValue();
}
return Encode(ctx->engine->newString(QLatin1String(result ? "true" : "false")));
@@ -103,5 +103,5 @@ ReturnedValue BooleanPrototype::method_valueOf(CallContext *ctx)
if (!thisObject)
return ctx->throwTypeError();
- return thisObject->value.asReturnedValue();
+ return thisObject->value().asReturnedValue();
}