diff options
Diffstat (limited to 'src/v4/qv4runtime.cpp')
-rw-r--r-- | src/v4/qv4runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4runtime.cpp b/src/v4/qv4runtime.cpp index 7fc078dd81..083bfea206 100644 --- a/src/v4/qv4runtime.cpp +++ b/src/v4/qv4runtime.cpp @@ -639,7 +639,7 @@ void __qmljs_set_element(ExecutionContext *ctx, const Value &object, const Value uint idx = index.asArrayIndex(); if (idx < UINT_MAX) { PropertyDescriptor *p = o->nonSparseArrayAt(idx); - if (p && p->attrs.type() == PropertyAttributes::Data && p->isWritable()) { + if (p && p->attrs.type() == PropertyAttributes::Data && p->attrs.isWritable()) { p->value = value; return; } |