aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launcher/minecraft/World.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/minecraft/World.cpp b/launcher/minecraft/World.cpp
index e45f042d..9cf67ed9 100644
--- a/launcher/minecraft/World.cpp
+++ b/launcher/minecraft/World.cpp
@@ -198,7 +198,8 @@ int64_t calculateWorldSize(const QFileInfo &file)
{
QDirIterator it(file.absolutePath(), QDirIterator::Subdirectories);
int64_t total = 0;
- while (it.hasNext()) {
+ while (it.hasNext())
+ {
total += it.fileInfo().size();
it.next();
}