diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-30 11:22:00 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-02 17:27:36 +0200 |
commit | 4dbb2ab600930d476a6f279dc73befdf56220359 (patch) | |
tree | ced1a9a71ad7e7b1679f2beed0ffe3051bb40477 /src/qml/jsruntime/qv4mathobject.cpp | |
parent | 3bf081203e713330aa1e5e92bc8b30fcc420e228 (diff) |
Remove more usages of Object::setPrototype()
Change-Id: I33383baf14e764ce79252a100a6d769bde75331a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4mathobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4mathobject.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4mathobject.cpp b/src/qml/jsruntime/qv4mathobject.cpp index ac9833264a..0e7b32d429 100644 --- a/src/qml/jsruntime/qv4mathobject.cpp +++ b/src/qml/jsruntime/qv4mathobject.cpp @@ -54,7 +54,6 @@ MathObject::MathObject(ExecutionContext *ctx) : Object(ctx->engine) { type = Type_MathObject; - setPrototype(ctx->engine->objectPrototype); defineReadonlyProperty(ctx->engine, QStringLiteral("E"), Value::fromDouble(::exp(1.0))); defineReadonlyProperty(ctx->engine, QStringLiteral("LN2"), Value::fromDouble(::log(2.0))); |