Environment: make usage of Environment.iterators more consistent

Change-Id: I114ddb2238ad19ac0681b8405925f283f2460f21
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Nikita Baryshnikov
2017-09-19 00:01:00 +03:00
parent d8a41f2706
commit e4c3e04ebd
3 changed files with 4 additions and 4 deletions

View File

@@ -394,7 +394,7 @@ static QStringList splitArgsUnix(const QString &args, bool abortOnMeta,
if (abortOnMeta)
goto metaerr; // Assume this is a shell builtin
} else {
cret += *vit;
cret += env->value(vit);
}
}
if (!braced)
@@ -444,7 +444,7 @@ static QStringList splitArgsUnix(const QString &args, bool abortOnMeta,
if (abortOnMeta)
goto metaerr; // Assume this is a shell builtin
} else {
val = *vit;
val = env->value(vit);
}
}
for (int i = 0; i < val.length(); i++) {