summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-12-12 00:44:55 +0100
committerPetr Mrázek <peterix@gmail.com>2014-12-12 00:44:55 +0100
commitbbcd44a65784a1d775c4192b407b208c99520f23 (patch)
treec5153bf886f2fd0471f42c4eee48f13e4193b8a7 /gui
parenta060d79c123e98baad8f1ea48600bd7449c9c66a (diff)
downloadMultiMC-bbcd44a65784a1d775c4192b407b208c99520f23.tar
MultiMC-bbcd44a65784a1d775c4192b407b208c99520f23.tar.gz
MultiMC-bbcd44a65784a1d775c4192b407b208c99520f23.tar.lz
MultiMC-bbcd44a65784a1d775c4192b407b208c99520f23.tar.xz
MultiMC-bbcd44a65784a1d775c4192b407b208c99520f23.zip
NOISSUE Always follow redirects for NetAction based downloads
Diffstat (limited to 'gui')
-rw-r--r--gui/MainWindow.cpp1
-rw-r--r--gui/pages/LegacyJarModPage.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index 0958be8c..43e8b6c0 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -286,7 +286,6 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
auto meta = MMC->metacache()->resolveEntry("skins", profile.name + ".png");
auto action = CacheDownload::make(
QUrl("http://" + URLConstants::SKINS_BASE + profile.name + ".png"), meta);
- action->m_followRedirects = true;
skin_dls.append(action);
meta->stale = true;
}
diff --git a/gui/pages/LegacyJarModPage.cpp b/gui/pages/LegacyJarModPage.cpp
index 0d480d80..023ebb2a 100644
--- a/gui/pages/LegacyJarModPage.cpp
+++ b/gui/pages/LegacyJarModPage.cpp
@@ -114,7 +114,6 @@ void LegacyJarModPage::on_addForgeBtn_clicked()
{
NetJob *fjob = new NetJob("Forge download");
auto cacheDl = CacheDownload::make(forge->universal_url, entry);
- cacheDl->m_followRedirects = true;
fjob->addNetAction(cacheDl);
ProgressDialog dlg(this);
dlg.exec(fjob);