aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'launcher')
-rw-r--r--launcher/minecraft/World.cpp2
1 files changed, 1 insertions, 1 deletions
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())
{