Show a dialog in case of mismatching build/run configurations.

This commit is contained in:
con
2009-10-28 17:21:27 +01:00
parent 4fc6a17d94
commit 6039c31133
12 changed files with 169 additions and 24 deletions

View File

@@ -994,15 +994,6 @@ void Qt4Project::setToolChainType(BuildConfiguration *configuration, ProjectExpl
void Qt4Project::updateActiveRunConfiguration()
{
const QSharedPointer<RunConfiguration> activeRunConfig = activeRunConfiguration();
if (!activeRunConfig.isNull() && !activeRunConfig->isEnabled()) {
foreach (const QSharedPointer<RunConfiguration> &runConfiguration, runConfigurations()) {
if (runConfiguration->isEnabled()) {
setActiveRunConfiguration(runConfiguration);
break;
}
}
}
emit runConfigurationsEnabledStateChanged();
emit targetInformationChanged();
}