aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
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);