diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-30 02:34:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-30 02:34:46 +0200 |
commit | 8b0f8b9e597eb50ff9323037fd5fa1b9e330c467 (patch) | |
tree | 3b6613d6c7672803c371ef7043cf35b713b975b1 /gui | |
parent | 604162acdf5283a9759c1b3ce9e90887a6599ce7 (diff) | |
download | MultiMC-8b0f8b9e597eb50ff9323037fd5fa1b9e330c467.tar MultiMC-8b0f8b9e597eb50ff9323037fd5fa1b9e330c467.tar.gz MultiMC-8b0f8b9e597eb50ff9323037fd5fa1b9e330c467.tar.lz MultiMC-8b0f8b9e597eb50ff9323037fd5fa1b9e330c467.tar.xz MultiMC-8b0f8b9e597eb50ff9323037fd5fa1b9e330c467.zip |
``Working'' forge unpackers. Needs a lot of hardening but good for alpha.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/LegacyModEditDialog.cpp | 2 | ||||
-rw-r--r-- | gui/OneSixModEditDialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/LegacyModEditDialog.cpp b/gui/LegacyModEditDialog.cpp index 20296769..053aef6b 100644 --- a/gui/LegacyModEditDialog.cpp +++ b/gui/LegacyModEditDialog.cpp @@ -210,7 +210,7 @@ void LegacyModEditDialog::on_addForgeBtn_clicked() if(entry->stale) { DownloadJob * fjob = new DownloadJob("Forge download"); - fjob->add(forge->universal_url, entry); + fjob->addCacheDownload(forge->universal_url, entry); ProgressDialog dlg(this); dlg.exec(fjob); if(dlg.result() == QDialog::Accepted) diff --git a/gui/OneSixModEditDialog.cpp b/gui/OneSixModEditDialog.cpp index 94fea933..f2e7c5d2 100644 --- a/gui/OneSixModEditDialog.cpp +++ b/gui/OneSixModEditDialog.cpp @@ -160,7 +160,7 @@ void OneSixModEditDialog::on_forgeBtn_clicked() if (entry->stale) { DownloadJob *fjob = new DownloadJob("Forge download"); - fjob->add(forgeVersion->installer_url, entry); + fjob->addCacheDownload(forgeVersion->installer_url, entry); ProgressDialog dlg(this); dlg.exec(fjob); if (dlg.result() == QDialog::Accepted) |