ProjectExplorer: Update "generic" run configuration aspects

None of the run configuration aspects that are added to each runconfig
depend on the actual runconfig, only two need the target, the rest
nothing at all. So use target as common denominator.

Change-Id: I31829e63ac79d5c707bb068d73fc6a4687cb4c47
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
hjk
2018-09-12 11:48:32 +02:00
parent 425463ce8d
commit 2c4dadccb6
7 changed files with 9 additions and 10 deletions

View File

@@ -229,7 +229,7 @@ RunConfiguration::RunConfiguration(Target *target, Core::Id id)
[this] { return displayName(); }, false);
for (const AspectFactory &factory : theAspectFactories)
m_aspects.append(factory(this));
m_aspects.append(factory(target));
}
RunConfiguration::~RunConfiguration()