mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
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
|
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 a new issue