Fix clazy complaint about detatch
This commit is contained in:
parent
98de51042a
commit
3256d9bafe
@ -600,7 +600,7 @@ PowerlevelEditingModels::commit()
|
|||||||
void
|
void
|
||||||
PowerlevelEditingModels::addRole(int pl)
|
PowerlevelEditingModels::addRole(int pl)
|
||||||
{
|
{
|
||||||
for (const auto &e : types_.types)
|
for (const auto &e : qAsConst(types_.types))
|
||||||
if (pl == int(e.pl))
|
if (pl == int(e.pl))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user