diff options
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4objectproto.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp index 65e9b836d1..47f101e4e4 100644 --- a/src/qml/jsruntime/qv4objectproto.cpp +++ b/src/qml/jsruntime/qv4objectproto.cpp @@ -756,8 +756,6 @@ void ObjectPrototype::toPropertyDescriptor(ExecutionEngine *engine, const Value return; } attrs->setWritable((tmp = o->get(engine->id_writable()))->toBoolean()); - // writable forces it to be a data descriptor - desc->value = Primitive::undefinedValue(); } if (o->hasProperty(engine->id_value()->toPropertyKey())) { |