mirror of
https://github.com/KDE/konsole.git
synced 2026-05-07 22:26:17 -04:00
const & for foreach
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=952188
This commit is contained in:
@@ -345,7 +345,7 @@ void SessionManager::changeProfile(Profile::Ptr info ,
|
||||
ProfileGroup::Ptr group = info->asGroup();
|
||||
if (group)
|
||||
{
|
||||
foreach(Profile::Ptr profile, group->profiles())
|
||||
foreach(const Profile::Ptr &profile, group->profiles())
|
||||
changeProfile(profile,propertyMap,persistant);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user