Ios: Remove unused loop

Change-Id: Ic78064fa0bef5b4ad14b3ae2033da94457bad571
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 23:34:00 +03:00
committed by Orgad Shaneh
parent f759ea2315
commit b3843939cb

View File

@@ -72,15 +72,8 @@ const QLatin1String ignoreAllDevicesKey("IgnoreAllDevices");
void IosConfigurations::updateAutomaticKitList()
{
QMap<QString, Platform> platforms = IosProbe::detectPlatforms();
{
QMapIterator<QString, Platform> iter(platforms);
while (iter.hasNext()) {
iter.next();
const Platform &p = iter.value();
setDeveloperPath(p.developerPath);
break;
}
}
if (!platforms.isEmpty())
setDeveloperPath(platforms.first().developerPath);
// filter out all non iphone, non base, non clang or cxx11 platforms, as we don't set up kits for those
{
QMap<QString, Platform>::iterator iter(platforms.begin());