summaryrefslogtreecommitdiffstats
path: root/src/libs/installer
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2016-01-21 11:40:11 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2016-01-21 13:55:37 +0000
commit85cad029464f1209b5aeab7150b6e3df1fa1f69b (patch)
tree772e97ec14cb1c5b8960af7b27e542833c6ca65b /src/libs/installer
parent22a0f6b682fb8ef74e11f0e7a2ffac7c8f12222b (diff)
Compile with Qt 5.5, 5.6. Minimum version is now 5.5.
Change-Id: I60d248ea38e8176e18a9b2a642e81a0ad5fb21d3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/libs/installer')
-rw-r--r--src/libs/installer/component.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp
index 5346aac77..d379305a8 100644
--- a/src/libs/installer/component.cpp
+++ b/src/libs/installer/component.cpp
@@ -1026,9 +1026,9 @@ inline bool convert(QQmlV4Function *func, QStringList *toArgs)
*toArgs << val->toQString();
for (int i = 1; i < func->length(); i++) {
val = (*func)[i];
- if (val->isObject() && val->asObject()->isArrayObject()) {
+ if (val->isObject() && val->as<QV4::Object>()->isArrayObject()) {
QV4::ScopedValue valtmp(scope);
- QV4::Object *array = val->asObject();
+ QV4::Object *array = val->as<QV4::Object>();
uint length = array->getLength();
for (uint ii = 0; ii < length; ++ii) {
valtmp = array->getIndexed(ii);