mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Fix const iteration
This commit is contained in:
parent
fe403ddc70
commit
fc0baa86b0
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ RoomSettingsAllowedRoomsModel::RoomSettingsAllowedRoomsModel(RoomSettings *paren
|
|||
|
||||
this->listedRoomIds = QStringList(parentSpaces.begin(), parentSpaces.end());
|
||||
|
||||
for (const auto &e : this->allowedRoomIds) {
|
||||
for (const auto &e : qAsConst(this->allowedRoomIds)) {
|
||||
if (!this->parentSpaces.count(e))
|
||||
this->listedRoomIds.push_back(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue