mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 01:30:46 +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
|
||||
PowerlevelEditingModels::addRole(int pl)
|
||||
{
|
||||
for (const auto &e : types_.types)
|
||||
for (const auto &e : qAsConst(types_.types))
|
||||
if (pl == int(e.pl))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue