From c723db712903982d44b2e262c90675dd4e502caa Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 17 Dec 2020 10:56:26 +0100 Subject: [PATCH] ProjectExplorer: Make ContainerAspect emit when subaspect changed This fixes updating the -j part of the command when job count overriding is enabled. Task-number: QTCREATORBUG-25088 Change-Id: Id5af007fe8de463f761136da0f1109bf902b766f Reviewed-by: Christian Kandeler --- src/libs/utils/aspects.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/utils/aspects.cpp b/src/libs/utils/aspects.cpp index 4f17830aec1..79509a6b9d2 100644 --- a/src/libs/utils/aspects.cpp +++ b/src/libs/utils/aspects.cpp @@ -1358,6 +1358,7 @@ AspectContainer::~AspectContainer() = default; void AspectContainer::addAspectHelper(BaseAspect *aspect) { d->m_items.append(aspect); + connect(aspect, &BaseAspect::changed, this, &BaseAspect::changed); } /*!