From eed82176b20054782fa5f1a9035bc52094d146bd Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 10 Jun 2021 14:21:47 +0200 Subject: [PATCH] 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 --- src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp b/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp index c79e249881c..ad520749edb 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildconfiguration.cpp @@ -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);