mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
rbutil: Fix various issues found by clazy.
Change-Id: I91ca2baed34f0f3b561602f95f66bbd4e17e74ab
This commit is contained in:
parent
0768705545
commit
01e245417e
9 changed files with 15 additions and 19 deletions
|
@ -1057,7 +1057,7 @@ qint64 Utils::recursiveFolderSize(QString path)
|
|||
size += item.size();
|
||||
}
|
||||
QList<QString> folders = QDir(path).entryList(QDir::Dirs | QDir::NoDotAndDotDot);
|
||||
for (auto folder: folders) {
|
||||
for (auto const& folder: folders) {
|
||||
size += recursiveFolderSize(path + "/" + folder);
|
||||
}
|
||||
return size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue