mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-23 08:20:45 -05:00
Replace old for-loops with range-based for-loops
This commit is contained in:
parent
4876beabed
commit
4ac1601696
4 changed files with 8 additions and 9 deletions
|
|
@ -121,8 +121,8 @@ QString imageReaderFilter()
|
|||
QStringList formatsStringList;
|
||||
|
||||
for (const QByteArray& format : formats) {
|
||||
for (int i = 0; i < format.size(); i++) {
|
||||
if (!QChar(format.at(i)).isLetterOrNumber()) {
|
||||
for (char codePoint : format) {
|
||||
if (!QChar(codePoint).isLetterOrNumber()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue