GH-1053 add launch step creation to legacy instances

This commit is contained in:
Petr Mrázek
2015-07-21 09:21:59 +02:00
parent 61c5a67777
commit 2fc18921b0
3 changed files with 67 additions and 8 deletions

View File

@@ -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!