Fix clazy complaint about detatch
This commit is contained in:
parent
98de51042a
commit
3256d9bafe
1 changed files with 1 additions and 1 deletions
|
|
@ -600,7 +600,7 @@ PowerlevelEditingModels::commit()
|
|||
void
|
||||
PowerlevelEditingModels::addRole(int pl)
|
||||
{
|
||||
for (const auto &e : types_.types)
|
||||
for (const auto &e : qAsConst(types_.types))
|
||||
if (pl == int(e.pl))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue