diff options
Diffstat (limited to 'src/qml/qml/v8/qqmlbuiltinfunctions.cpp')
-rw-r--r-- | src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp index 3cad4b97a2..22b8bddd66 100644 --- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp +++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp @@ -197,21 +197,21 @@ ReturnedValue QtObject::findAndAdd(const QString *name, bool &foundProperty) con return Encode::undefined(); } -ReturnedValue QtObject::get(const Managed *m, StringOrSymbol *name, bool *hasProperty) +ReturnedValue QtObject::get(const Managed *m, Identifier id, const Value *receiver, bool *hasProperty) { bool hasProp = false; if (hasProperty == nullptr) { hasProperty = &hasProp; } - ReturnedValue ret = QV4::Object::get(m, name, hasProperty); + ReturnedValue ret = QV4::Object::get(m, id, receiver, hasProperty); if (*hasProperty) { return ret; } auto that = static_cast<const QtObject*>(m); if (!that->d()->isComplete()) { - const QString key = name->toQString(); + const QString key = id.toQString(); ret = that->findAndAdd(&key, *hasProperty); } |