aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-08-30 11:22:00 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-02 17:27:36 +0200
commit4dbb2ab600930d476a6f279dc73befdf56220359 (patch)
treeced1a9a71ad7e7b1679f2beed0ffe3051bb40477 /src/qml/jsruntime/qv4jsonobject.cpp
parent3bf081203e713330aa1e5e92bc8b30fcc420e228 (diff)
Remove more usages of Object::setPrototype()
Change-Id: I33383baf14e764ce79252a100a6d769bde75331a Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4jsonobject.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp
index 740f30f061..9c98d78743 100644
--- a/src/qml/jsruntime/qv4jsonobject.cpp
+++ b/src/qml/jsruntime/qv4jsonobject.cpp
@@ -861,7 +861,6 @@ JsonObject::JsonObject(ExecutionContext *context)
: Object(context->engine)
{
type = Type_JSONObject;
- setPrototype(context->engine->objectPrototype);
defineDefaultProperty(context, QStringLiteral("parse"), method_parse, 2);
defineDefaultProperty(context, QStringLiteral("stringify"), method_stringify, 3);