path: root/src/qml/jsruntime/qv4object_p.h
diff options
authorLars Knoll <>2018-09-23 12:10:12 +0200
committerLars Knoll <>2018-09-27 08:33:55 +0000
commitf63d48d474db7e9eff7583f1b8478228b13d3c82 (patch)
tree4bc1dd1f4f7b2f9a5df5b40247e1a8245169b903 /src/qml/jsruntime/qv4object_p.h
parent1804fea8893c355dbd585e373cb9644387410a92 (diff)
Differentiate between finding for get and set in InternalClass
This is required, so we can get rid of the requirement that getter and setter live next to each other in the member data. Change-Id: I2ed57a171628af4dfecd1836d00e958c6bed9d4f Reviewed-by: Erik Verbruggen <>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h
index c9b0ff7e1f..a32f8a4dac 100644
--- a/src/qml/jsruntime/qv4object_p.h
+++ b/src/qml/jsruntime/qv4object_p.h
@@ -197,7 +197,7 @@ struct Q_QML_EXPORT Object: Managed {
static ReturnedValue getValueAccessor(const Value &thisObject, const Value &v, PropertyAttributes attrs);
- bool putValue(uint memberIndex, const Value &value);
+ bool putValue(uint memberIndex, PropertyAttributes attrs, const Value &value);
/* The spec default: Writable: true, Enumerable: false, Configurable: true */
void defineDefaultProperty(StringOrSymbol *name, const Value &value, PropertyAttributes attributes = Attr_Data|Attr_NotEnumerable) {