ProjectExplorer: Remove Target::*ProjectConfiguration(...) signals

The only listener left is the target's project, which is known at each
emitting location and can be called directly.

Change-Id: If07d2c1c43fcf5d2094c0b6d59f773d12b4f6d6b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-07-31 18:43:13 +02:00
parent 79f9449f68
commit 4c80380478
3 changed files with 12 additions and 23 deletions

View File

@@ -260,10 +260,6 @@ void Project::addTarget(std::unique_ptr<Target> &&t)
// add it
d->m_targets.emplace_back(std::move(t));
connect(pointer, &Target::addedProjectConfiguration, this, &Project::addedProjectConfiguration);
connect(pointer, &Target::aboutToRemoveProjectConfiguration, this, &Project::aboutToRemoveProjectConfiguration);
connect(pointer, &Target::removedProjectConfiguration, this, &Project::removedProjectConfiguration);
connect(pointer, &Target::activeProjectConfigurationChanged, this, &Project::activeProjectConfigurationChanged);
emit addedTarget(pointer);
// check activeTarget: