Commit 973cabd5 authored by Anton Kudryavtsev's avatar Anton Kudryavtsev Committed by Oswald Buddenhagen

qmake: de-duplicate QString::number() calls with same arg

Change-Id: I6e05b9ad3350bd0da5b8a6dc1389ae05315a33df
Reviewed-by: default avatarMarc Mutz <>
(cherry picked from qtbase/27de4ea4d672d9f1b3a733f803f8605f81311d0a)
Reviewed-by: default avatarAnton Kudryavtsev <>
parent f71bc5ad
......@@ -299,8 +299,9 @@ static void addJsonArray(const QJsonArray &array, const QString &keyPrefix, ProV
const int size = array.count();
for (int i = 0; i < size; ++i) {
addJsonValue(, keyPrefix + QString::number(i), map);
const QString number = QString::number(i);
addJsonValue(, keyPrefix + number, map);
insertJsonKeyValue(keyPrefix + QLatin1String("_KEYS_"), keys, map);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment