Commit 06483d37 authored by Daniel Teske's avatar Daniel Teske

Fix "Make" build step not being updated on environment changes

Change-Id: If356830b064229d74f0b69360301c4091bcb2acf
Task-number: QTCREATORBUG-14831
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 14300191
......@@ -347,6 +347,8 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep)
if (bc) {
connect(bc, SIGNAL(buildDirectoryChanged()),
this, SLOT(updateDetails()));
connect(bc, &BuildConfiguration::environmentChanged,
this, &MakeStepConfigWidget::updateDetails);
}
connect(ProjectExplorerPlugin::instance(), SIGNAL(settingsChanged()),
......@@ -359,6 +361,8 @@ void MakeStepConfigWidget::activeBuildConfigurationChanged()
if (m_bc) {
disconnect(m_bc, SIGNAL(buildDirectoryChanged()),
this, SLOT(updateDetails()));
disconnect(m_bc, &BuildConfiguration::environmentChanged,
this, &MakeStepConfigWidget::updateDetails);
}
m_bc = m_makeStep->target()->activeBuildConfiguration();
......@@ -367,6 +371,8 @@ void MakeStepConfigWidget::activeBuildConfigurationChanged()
if (m_bc) {
connect(m_bc, SIGNAL(buildDirectoryChanged()),
this, SLOT(updateDetails()));
connect(m_bc, &BuildConfiguration::environmentChanged,
this, &MakeStepConfigWidget::updateDetails);
}
}
......
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