fix: calculate world sizes individually
This commit is contained in:
parent
e8697068fb
commit
41d7b27d43
@ -196,7 +196,7 @@ int64_t calculateWorldSize(const QFileInfo &file)
|
|||||||
}
|
}
|
||||||
else if(file.isDir())
|
else if(file.isDir())
|
||||||
{
|
{
|
||||||
QDirIterator it(file.absolutePath(), QDirIterator::Subdirectories);
|
QDirIterator it(file.absoluteFilePath(), QDir::Files, QDirIterator::Subdirectories);
|
||||||
int64_t total = 0;
|
int64_t total = 0;
|
||||||
while (it.hasNext())
|
while (it.hasNext())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user