Commit 04a9422b authored by Daniel Teske's avatar Daniel Teske
Browse files

AndroidConfig::apiLevelNamesFor: Rewrite using Utils::transform

Change-Id: I93f5f3248dc83ab5d53def6e86431354b431c26f
Reviewed-by: default avatarBogDan Vatra <>
parent 64e5a543
......@@ -337,10 +337,7 @@ void AndroidConfig::updateAvailableSdkPlatforms() const
QStringList AndroidConfig::apiLevelNamesFor(const QList<SdkPlatform> &platforms)
QStringList results;
foreach (const SdkPlatform &platform, platforms)
results << QLatin1String("android-") + QString::number(platform.apiLevel);
return results;
return Utils::transform(platforms, AndroidConfig::apiLevelNameFor);
QString AndroidConfig::apiLevelNameFor(const SdkPlatform &platform)
Supports Markdown
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