S3 bucket listing support and network code refactors.
* Adds support for listing all objects in an S3 bucket. * Renames a bunch of network related classes (Download->Action) * Net actions now have static constructors
This commit is contained in:
parent
c467ebf132
commit
9233477295
27 changed files with 405 additions and 243 deletions
|
@ -166,8 +166,8 @@ void OneSixModEditDialog::on_forgeBtn_clicked()
|
|||
auto entry = MMC->metacache()->resolveEntry("minecraftforge", forgeVersion->filename);
|
||||
if (entry->stale)
|
||||
{
|
||||
DownloadJob *fjob = new DownloadJob("Forge download");
|
||||
fjob->addCacheDownload(forgeVersion->installer_url, entry);
|
||||
NetJob *fjob = new NetJob("Forge download");
|
||||
fjob->addNetAction(CacheDownload::make(forgeVersion->installer_url, entry));
|
||||
ProgressDialog dlg(this);
|
||||
dlg.exec(fjob);
|
||||
if (dlg.result() == QDialog::Accepted)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue