diff options
Diffstat (limited to 'src/qml/jsruntime/qv4object.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object.cpp b/src/qml/jsruntime/qv4object.cpp index 77ac2a6049..020607a2d0 100644 --- a/src/qml/jsruntime/qv4object.cpp +++ b/src/qml/jsruntime/qv4object.cpp @@ -290,7 +290,7 @@ Property *Object::__getPropertyDescriptor__(uint index, PropertyAttributes *attr *attrs = o->arrayData->attributes(index); return p; } - if (o->internalClass->vtable->type == Type_StringObject) { + if (o->vtable->type == Type_StringObject) { Property *p = static_cast<const Heap::StringObject *>(o)->getIndex(index); if (p) { if (attrs) |