mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
fix: calculate world sizes individually
This commit is contained in:
parent
e8697068fb
commit
41d7b27d43
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ int64_t calculateWorldSize(const QFileInfo &file)
|
|||
}
|
||||
else if(file.isDir())
|
||||
{
|
||||
QDirIterator it(file.absolutePath(), QDirIterator::Subdirectories);
|
||||
QDirIterator it(file.absoluteFilePath(), QDir::Files, QDirIterator::Subdirectories);
|
||||
int64_t total = 0;
|
||||
while (it.hasNext())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue