diff options
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4stringobject_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4stringobject_p.h b/src/qml/jsruntime/qv4stringobject_p.h index 031b09c093..ba441c9326 100644 --- a/src/qml/jsruntime/qv4stringobject_p.h +++ b/src/qml/jsruntime/qv4stringobject_p.h @@ -47,6 +47,8 @@ struct StringObject : Object { StringObject(InternalClass *ic, QV4::Object *prototype); StringObject(ExecutionEngine *engine, const ValueRef value); Value value; + + Property *getIndex(uint index) const; // ### get rid of tmpProperty mutable Property tmpProperty; }; @@ -61,7 +63,9 @@ struct StringObject: Object { V4_OBJECT2(StringObject, Object) Q_MANAGED_TYPE(StringObject) - Property *getIndex(uint index) const; + Property *getIndex(uint index) const { + return d()->getIndex(index); + } static bool deleteIndexedProperty(Managed *m, uint index); |