diff --git a/launcher/minecraft/World.cpp b/launcher/minecraft/World.cpp index 9cf67ed9..dc756e06 100644 --- a/launcher/minecraft/World.cpp +++ b/launcher/minecraft/World.cpp @@ -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()) {