change foreach varible to a more appropiate name and avoid shadowing

wilder-portage
Kurt Hindenburg 9 years ago
parent 2ac9a08b31
commit 1844ae17ed
  1. 4
      src/ProfileManager.cpp

@ -395,8 +395,8 @@ void ProfileManager::changeProfile(Profile::Ptr profile,
// is saved to disk
ProfileGroup::Ptr group = newProfile->asGroup();
if (group) {
foreach(const Profile::Ptr & newProfile, group->profiles()) {
changeProfile(newProfile, propertyMap, persistent);
foreach(const Profile::Ptr & groupProfile, group->profiles()) {
changeProfile(groupProfile, propertyMap, persistent);
}
return;
}

Loading…
Cancel
Save