ProjectExplorer: Pass envAspect directly to WorkingDirectory constructor

This trades a now necessary order of setup for the now removed
"acquaintSiblings" facility.

Change-Id: I85058578b792e210f24573e2ab4e3a40a8813a11
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-04-13 16:14:03 +02:00
parent 2a39f35983
commit 5da8695dca
19 changed files with 28 additions and 46 deletions

View File

@@ -140,12 +140,6 @@ Utils::BaseAspect *ProjectConfiguration::aspect(Utils::Id id) const
return m_aspects.aspect(id);
}
void ProjectConfiguration::acquaintAspects()
{
for (Utils::BaseAspect *aspect : m_aspects)
aspect->acquaintSiblings(m_aspects);
}
void ProjectConfiguration::doPostInit()
{
for (const std::function<void()> &postInit : qAsConst(m_postInit))