mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
Fixed folder size
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -206,8 +206,8 @@ int64_t calculateWorldSize(const QFileInfo& file)
|
||||
QDirIterator it(file.absoluteFilePath(), QDir::Files, QDirIterator::Subdirectories);
|
||||
int64_t total = 0;
|
||||
while (it.hasNext()) {
|
||||
total += it.fileInfo().size();
|
||||
it.next();
|
||||
total += it.fileInfo().size();
|
||||
}
|
||||
return total;
|
||||
}
|
||||
|
Reference in New Issue
Block a user