aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-04-01 15:00:05 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-04-01 15:00:05 +0200
commite8697068fb5baa454ad97ae272726f98d2108f94 (patch)
tree918ead31484c9325e283d9d77ac34ee32bbab4eb
parentc389a711ed31c11f60f5462e46fd3bcf80359c60 (diff)
downloadPrismLauncher-e8697068fb5baa454ad97ae272726f98d2108f94.tar.gz
PrismLauncher-e8697068fb5baa454ad97ae272726f98d2108f94.tar.bz2
PrismLauncher-e8697068fb5baa454ad97ae272726f98d2108f94.zip
fix: codestyle
-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();
}