Merge pull request #387 from Scrumplex/fix-world-size
fix: calculate world sizes individually
This commit is contained in:
commit
d33d5b847d
@ -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…
Reference in New Issue
Block a user