Commit e02dae3e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Enable/disable RCconfig widgets in constructor

parent b310a0fc
......@@ -331,7 +331,6 @@ bool CMakeRunConfiguration::isEnabled(ProjectExplorer::BuildConfiguration *bc) c
CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *cmakeRunConfiguration, QWidget *parent)
: QWidget(parent), m_ignoreChange(false), m_cmakeRunConfiguration(cmakeRunConfiguration)
{
QFormLayout *fl = new QFormLayout();
fl->setMargin(0);
fl->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
......@@ -438,6 +437,7 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
connect(m_cmakeRunConfiguration, SIGNAL(userEnvironmentChangesChanged(QList<Utils::EnvironmentItem>)),
this, SLOT(userEnvironmentChangesChanged()));
setEnabled(m_cmakeRunConfiguration->isEnabled());
}
void CMakeRunConfigurationWidget::setWorkingDirectory()
......
......@@ -101,6 +101,8 @@ MaemoRunConfigurationWidget::MaemoRunConfigurationWidget(
this, SLOT(runConfigurationEnabledChange(bool)));
handleBuildConfigChanged();
setEnabled(m_runConfiguration->isEnabled());
}
void MaemoRunConfigurationWidget::runConfigurationEnabledChange(bool enabled)
......
......@@ -76,6 +76,8 @@ S60DeviceRunConfigurationWidget::S60DeviceRunConfigurationWidget(
connect(m_runConfiguration, SIGNAL(isEnabledChanged(bool)),
this, SLOT(runConfigurationEnabledChange(bool)));
setEnabled(m_runConfiguration->isEnabled());
}
void S60DeviceRunConfigurationWidget::argumentsEdited(const QString &text)
......
......@@ -235,6 +235,8 @@ S60EmulatorRunConfigurationWidget::S60EmulatorRunConfigurationWidget(S60Emulator
connect(m_runConfiguration, SIGNAL(isEnabledChanged(bool)),
this, SLOT(runConfigurationEnabledChange(bool)));
setEnabled(m_runConfiguration->isEnabled());
}
void S60EmulatorRunConfigurationWidget::updateTargetInformation()
......
......@@ -347,6 +347,8 @@ Qt4RunConfigurationWidget::Qt4RunConfigurationWidget(Qt4RunConfiguration *qt4Run
connect(qt4RunConfiguration, SIGNAL(isEnabledChanged(bool)),
this, SLOT(runConfigurationEnabledChange(bool)));
setEnabled(qt4RunConfiguration->isEnabled());
}
Qt4RunConfigurationWidget::~Qt4RunConfigurationWidget()
......
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