diff options
Diffstat (limited to 'src/plugins/projectexplorer/kit.cpp')
-rw-r--r-- | src/plugins/projectexplorer/kit.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/kit.cpp b/src/plugins/projectexplorer/kit.cpp index e92e66c5b2..cc0ca3a39f 100644 --- a/src/plugins/projectexplorer/kit.cpp +++ b/src/plugins/projectexplorer/kit.cpp @@ -275,11 +275,9 @@ void Kit::fix() void Kit::setup() { KitGuard g(this); - // Process the KitAspects in reverse order: They may only be based on other information - // lower in the stack. const QList<KitAspect *> aspects = KitManager::kitAspects(); - for (int i = aspects.count() - 1; i >= 0; --i) - aspects.at(i)->setup(this); + for (KitAspect * const aspect : aspects) + aspect->setup(this); } void Kit::upgrade() |