diff options
Diffstat (limited to 'src/v4/qv4functionobject.h')
-rw-r--r-- | src/v4/qv4functionobject.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/v4/qv4functionobject.h b/src/v4/qv4functionobject.h index e1860573fa..4ef9db196c 100644 --- a/src/v4/qv4functionobject.h +++ b/src/v4/qv4functionobject.h @@ -148,9 +148,9 @@ struct Lookup { return 0; } - Property *setterLookup(Object *o, bool *writable) { + Property *setterLookup(Object *o, PropertyAttributes *attrs) { if (o->internalClass == classList[0]) { - *writable = o->internalClass->propertyData[index].isWritable(); + *attrs = o->internalClass->propertyData[index]; return o->memberData + index; } @@ -158,7 +158,7 @@ struct Lookup { if (idx != UINT_MAX) { classList[0] = o->internalClass; index = idx; - *writable = o->internalClass->propertyData[index].isWritable(); + *attrs = o->internalClass->propertyData[index]; return o->memberData + index; } return 0; |