Target setup: Allow deployconfigurations to not do anything

Task-Nr: QTCREATORBUG-4579

Reviewed-By: hunger
This commit is contained in:
dt
2011-04-19 18:51:39 +02:00
committed by con
parent 0edee47c9f
commit 3a2651bc8e

View File

@@ -459,8 +459,6 @@ bool Target::fromMap(const QVariantMap &map)
if (i == activeConfiguration)
setActiveDeployConfiguration(dc);
}
if (deployConfigurations().isEmpty() && deployConfigurationFactory())
return false;
int rcCount(map.value(QLatin1String(RC_COUNT_KEY), 0).toInt(&ok));
if (!ok || rcCount < 0)