diff options
author | Katja Marttila <katja.marttila@qt.io> | 2023-06-14 13:15:11 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2023-06-15 12:11:00 +0300 |
commit | 37707cbddaa0729b8a28d853fdbb6430e533d6e3 (patch) | |
tree | c9d9f6fdc92e1a1b081fec4f2064d22bb4dda7a7 /src/libs/installer/component.cpp | |
parent | e7cc81f950c057ddb0261daa4c8b731f19665440 (diff) |
Fix deprecated QV4::Object::getIndexed() function call
Task-number: QTIFW-3077
Change-Id: I9e4906a033f683b619c6cbf0140b695c71162fdf
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/component.cpp')
-rw-r--r-- | src/libs/installer/component.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QV4::Object>(); uint length = array->getLength(); for (uint ii = 0; ii < length; ++ii) { - valtmp = array->getIndexed(ii); + valtmp = array->get(ii); *toArgs << valtmp->toQStringNoThrow(); } } else { |