forked from qt-creator/qt-creator
CMake: Listen to BuildSystem::parsingFinished, not Target::parsingFinished
There's a 1:1 relationship between CMakeBuildConfigurations and CMakeBuildSystem objects. No need to react in one CMakeBuildConfiguration to the signals of someone elses buddy. Change-Id: I53f7d02d8852a85b9530bd55d8e059916a22579c Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -372,7 +372,7 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
||||
m_configView->expandAll();
|
||||
}
|
||||
|
||||
connect(bc->target(), &Target::parsingFinished, this, [this, stretcher] {
|
||||
connect(bc->buildSystem(), &BuildSystem::parsingFinished, this, [this, stretcher] {
|
||||
m_configModel->setConfiguration(m_buildConfiguration->configurationFromCMake());
|
||||
m_configView->expandAll();
|
||||
m_configView->setEnabled(true);
|
||||
|
Reference in New Issue
Block a user