From e419dbbb78ddee47305b131aa5f11d2e1efb9179 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 13 Jun 2023 08:39:56 +0200 Subject: [PATCH] Meson: Emit parsing finished when done Also, trigger build button re-check the hard way This should not really be necessary, but the code paths on the core side are still quite twisted. The extra notification here is harmless in price, and removes the showstopper of not getting a buildbutton. Change-Id: If4bec892b4ebea533a95033629df60fa564985f3 Reviewed-by: Alessandro Portale --- src/plugins/mesonprojectmanager/mesonbuildsystem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/mesonprojectmanager/mesonbuildsystem.cpp b/src/plugins/mesonprojectmanager/mesonbuildsystem.cpp index 6d3e5f20c4f..d140a468e34 100644 --- a/src/plugins/mesonprojectmanager/mesonbuildsystem.cpp +++ b/src/plugins/mesonprojectmanager/mesonbuildsystem.cpp @@ -87,6 +87,9 @@ void MesonBuildSystem::parsingCompleted(bool success) UNLOCK(false); emitBuildSystemUpdated(); } + emitParsingFinished(success); + + emit buildConfiguration()->enabledChanged(); // HACK. Should not be needed. } ProjectExplorer::Kit *MesonBuildSystem::MesonBuildSystem::kit()