forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user