diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-10 07:12:52 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-10 07:12:52 +0100 |
commit | 3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba (patch) | |
tree | 9231f1304db15e966e1fe57c1b5b41ba26267b21 /logic/OneSixInstance.cpp | |
parent | 8db2e5db81c91cca9291ca35ed74e632278563e6 (diff) | |
download | MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.gz MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.lz MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.tar.xz MultiMC-3f5c46a1c4b27e82976e0067e4ec2d6abfffd9ba.zip |
Finish assets update for 1.7.3
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r-- | logic/OneSixInstance.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index e804de11..b8d85ff5 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -26,7 +26,6 @@ #include <JlCompress.h> #include "gui/dialogs/OneSixModEditDialog.h" #include "logger/QsLog.h" -#include "logic/assets/AssetsIndex.h" #include "logic/assets/AssetsUtils.h" OneSixInstance::OneSixInstance(const QString &rootDir, SettingsObject *setting_obj, @@ -96,9 +95,9 @@ QDir OneSixInstance::reconstructAssets(std::shared_ptr<OneSixVersion> version) { QLOG_INFO() << "Reconstructing virtual assets folder at" << virtualRoot.path(); - for(QString map : index.objects->keys()) + for(QString map : index.objects.keys()) { - AssetObject asset_object = index.objects->value(map); + AssetObject asset_object = index.objects.value(map); QString target_path = PathCombine(virtualRoot.path(), map); QFile target(target_path); |