forked from qt-creator/qt-creator
Utils: Merge BaseAspects and AspectContainer
They were quite similar, largest difference was the ownership of subaspects, which is now handled by a bool property. Change-Id: Ib3f2f20b9a84ef40ea8a9eb59da9c89c9a281750 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -543,7 +543,7 @@ RunConfiguration *RunConfigurationFactory::create(Target *target) const
|
||||
|
||||
// Add the universal aspects.
|
||||
for (const RunConfiguration::AspectFactory &factory : theAspectFactories)
|
||||
rc->m_aspects.append(factory(target));
|
||||
rc->m_aspects.registerAspect(factory(target));
|
||||
|
||||
rc->acquaintAspects();
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user