NOISSUE Fail pack installation for download errors for FTB
This effectively reverts the changes made in [1] to resolve GH-3304. [1] 05ffcf706bff92bdc48f3063d6a64508f8b7674c
This commit is contained in:
parent
efa3bb33f5
commit
6dd1fdbaf9
@ -109,12 +109,7 @@ void PackInstallTask::downloadPack()
|
|||||||
connect(jobPtr.get(), &NetJob::failed, [&](QString reason)
|
connect(jobPtr.get(), &NetJob::failed, [&](QString reason)
|
||||||
{
|
{
|
||||||
jobPtr.reset();
|
jobPtr.reset();
|
||||||
|
emitFailed(reason);
|
||||||
// FIXME: Temporarily ignore file download failures (matching FTB's installer),
|
|
||||||
// while FTB's data is fucked.
|
|
||||||
qWarning() << "Failed to download files for modpack: " + reason;
|
|
||||||
|
|
||||||
install();
|
|
||||||
});
|
});
|
||||||
connect(jobPtr.get(), &NetJob::progress, [&](qint64 current, qint64 total)
|
connect(jobPtr.get(), &NetJob::progress, [&](qint64 current, qint64 total)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user