From 0edf909b45b804852cb3acddbc8771bd7f8430de Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 31 Mar 2023 15:32:18 +0200 Subject: [PATCH] ProjectExplorer: Remove unconnected applicationTargetChanged Change-Id: Id6a283118c904ad13e8bcfc4b23b9dd76b3cc83f Reviewed-by: Christian Stenger Reviewed-by: --- src/plugins/projectexplorer/buildsystem.cpp | 6 +----- src/plugins/projectexplorer/buildsystem.h | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/plugins/projectexplorer/buildsystem.cpp b/src/plugins/projectexplorer/buildsystem.cpp index 4316bba9102..9a120a9863f 100644 --- a/src/plugins/projectexplorer/buildsystem.cpp +++ b/src/plugins/projectexplorer/buildsystem.cpp @@ -325,7 +325,6 @@ void BuildSystem::setDeploymentData(const DeploymentData &deploymentData) if (d->m_deploymentData != deploymentData) { d->m_deploymentData = deploymentData; emit deploymentDataChanged(); - emit applicationTargetsChanged(); emit target()->deploymentDataChanged(); } } @@ -337,10 +336,7 @@ DeploymentData BuildSystem::deploymentData() const void BuildSystem::setApplicationTargets(const QList &appTargets) { - if (Utils::toSet(appTargets) != Utils::toSet(d->m_appTargets)) { - d->m_appTargets = appTargets; - emit applicationTargetsChanged(); - } + d->m_appTargets = appTargets; } const QList BuildSystem::applicationTargets() const diff --git a/src/plugins/projectexplorer/buildsystem.h b/src/plugins/projectexplorer/buildsystem.h index 0d19c9110ec..1cd1e41a060 100644 --- a/src/plugins/projectexplorer/buildsystem.h +++ b/src/plugins/projectexplorer/buildsystem.h @@ -152,7 +152,6 @@ signals: void parsingStarted(); void parsingFinished(bool success); void deploymentDataChanged(); - void applicationTargetsChanged(); void testInformationUpdated(); protected: