GH-640 Make legacy forge downloads follow redirects
This commit is contained in:
parent
7778c84121
commit
5af1f0cf50
@ -113,7 +113,9 @@ void LegacyJarModPage::on_addForgeBtn_clicked()
|
||||
if (entry->stale)
|
||||
{
|
||||
NetJob *fjob = new NetJob("Forge download");
|
||||
fjob->addNetAction(CacheDownload::make(forge->universal_url, entry));
|
||||
auto cacheDl = CacheDownload::make(forge->universal_url, entry);
|
||||
cacheDl->m_followRedirects = true;
|
||||
fjob->addNetAction(cacheDl);
|
||||
ProgressDialog dlg(this);
|
||||
dlg.exec(fjob);
|
||||
if (dlg.result() == QDialog::Accepted)
|
||||
|
Loading…
Reference in New Issue
Block a user