From 37707cbddaa0729b8a28d853fdbb6430e533d6e3 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Wed, 14 Jun 2023 13:15:11 +0300 Subject: Fix deprecated QV4::Object::getIndexed() function call Task-number: QTIFW-3077 Change-Id: I9e4906a033f683b619c6cbf0140b695c71162fdf Reviewed-by: Arttu Tarkiainen --- src/libs/installer/component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs') diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index d733706dd..231aa3166 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -1260,7 +1260,7 @@ inline bool convert(QQmlV4Function *func, QStringList *toArgs) QV4::Object *array = val->as(); uint length = array->getLength(); for (uint ii = 0; ii < length; ++ii) { - valtmp = array->getIndexed(ii); + valtmp = array->get(ii); *toArgs << valtmp->toQStringNoThrow(); } } else { -- cgit v1.2.3