summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftVersionList.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-13 23:57:34 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:31 +0200
commit55a0d110b654a93ef1bb9ee50a6f02ecaec7f88d (patch)
tree5957085e7e33d0b8f85859f421c1571b0ae6f978 /logic/minecraft/MinecraftVersionList.h
parentf3900f2966e8c211fee51ece156da054df2d47c7 (diff)
downloadMultiMC-55a0d110b654a93ef1bb9ee50a6f02ecaec7f88d.tar
MultiMC-55a0d110b654a93ef1bb9ee50a6f02ecaec7f88d.tar.gz
MultiMC-55a0d110b654a93ef1bb9ee50a6f02ecaec7f88d.tar.lz
MultiMC-55a0d110b654a93ef1bb9ee50a6f02ecaec7f88d.tar.xz
MultiMC-55a0d110b654a93ef1bb9ee50a6f02ecaec7f88d.zip
Lock down the version cache. Just enough to make it annoying to corrupt the files.
Diffstat (limited to 'logic/minecraft/MinecraftVersionList.h')
-rw-r--r--logic/minecraft/MinecraftVersionList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/MinecraftVersionList.h b/logic/minecraft/MinecraftVersionList.h
index bbbd71e1..4753ce05 100644
--- a/logic/minecraft/MinecraftVersionList.h
+++ b/logic/minecraft/MinecraftVersionList.h
@@ -34,7 +34,7 @@ class MinecraftVersionList : public BaseVersionList
private:
void sortInternal();
void loadBuiltinList();
- void loadMojangList(QByteArray data, VersionSource source);
+ void loadMojangList(QJsonDocument jsonDoc, VersionSource source);
void loadCachedList();
void saveCachedList();
void finalizeUpdate(QString version);