NOISSUE Always follow redirects for NetAction based downloads
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user