diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2021-06-09 21:54:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 21:54:22 +0200 |
commit | 9fafe3ffe6fd970b5096c31db8687e4c62c0cfa6 (patch) | |
tree | 2f91407d5b358b221664216886b89fcb79520eeb /api/logic/modplatform | |
parent | 60b686f01458fc1f31109a0be71d790b8f7ec22b (diff) | |
parent | 3390367d931cc47a8c9980d456546326d5c5e2cd (diff) | |
download | PrismLauncher-9fafe3ffe6fd970b5096c31db8687e4c62c0cfa6.tar.gz PrismLauncher-9fafe3ffe6fd970b5096c31db8687e4c62c0cfa6.tar.bz2 PrismLauncher-9fafe3ffe6fd970b5096c31db8687e4c62c0cfa6.zip |
Merge pull request #3833 from jamierocks/disable-forge-btn-when-game-running
NOISSUE Disable 'Install Forge' button when game is running
Diffstat (limited to 'api/logic/modplatform')
-rw-r--r-- | api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp b/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp index 068e3592..ddc7fe35 100644 --- a/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp +++ b/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp @@ -109,12 +109,7 @@ void PackInstallTask::downloadPack() connect(jobPtr.get(), &NetJob::failed, [&](QString reason) { jobPtr.reset(); - - // 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(); + emitFailed(reason); }); connect(jobPtr.get(), &NetJob::progress, [&](qint64 current, qint64 total) { |