summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/LegacyUpdate.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-07-21 09:21:59 +0200
committerPetr Mrázek <peterix@gmail.com>2015-07-21 09:21:59 +0200
commit2fc18921b04536285ad82e49d61faaeb599c6d46 (patch)
treee9d91fdd758767b4e092d087e24da40b6aa4c62c /logic/minecraft/LegacyUpdate.cpp
parent61c5a67777a6f7639c9d2f36b14f7a903bdfc5a0 (diff)
downloadMultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar.gz
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar.lz
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.tar.xz
MultiMC-2fc18921b04536285ad82e49d61faaeb599c6d46.zip
GH-1053 add launch step creation to legacy instances
Diffstat (limited to 'logic/minecraft/LegacyUpdate.cpp')
-rw-r--r--logic/minecraft/LegacyUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/LegacyUpdate.cpp b/logic/minecraft/LegacyUpdate.cpp
index 7ea20ad8..e136deec 100644
--- a/logic/minecraft/LegacyUpdate.cpp
+++ b/logic/minecraft/LegacyUpdate.cpp
@@ -326,7 +326,7 @@ void LegacyUpdate::extractLwjgl()
setStatus(tr("Installing new LWJGL - extracting ") + name + "...");
QFile output(destFileName);
output.open(QIODevice::WriteOnly);
- output.write(file.readAll()); // FIXME: wste of memory!?
+ output.write(file.readAll());
output.close();
}
file.close(); // do not forget to close!