diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | launcher/minecraft/World.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -85,4 +85,4 @@ All launcher code is available under the GPL-3 license. [Source for the website](https://github.com/PolyMC/polymc.github.io) is hosted under the AGPL-3 License. -The logo and related assets are under the CC BY-NC-SA 4.0 license. +The logo and related assets are under the CC BY-SA 4.0 license. 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()) { |