mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Combine qAsConst() with copyAsConst() to asConst()
This commit is contained in:
parent
6b1d26d555
commit
1f36b8b89f
57 changed files with 199 additions and 202 deletions
|
@ -101,6 +101,6 @@ void CookiesDialog::onButtonDeleteClicked()
|
|||
}
|
||||
);
|
||||
|
||||
for (const QModelIndex &idx : qAsConst(idxs))
|
||||
for (const QModelIndex &idx : asConst(idxs))
|
||||
m_cookiesModel->removeRow(idx.row());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue