diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-26 13:47:14 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-26 18:33:29 +0200 |
commit | 84549ed8078bdbd029aa5a89facc0412b8b5e753 (patch) | |
tree | 3a5bd2727195f18c42cdb428421cab5fc6562d9d /logic/updater/DownloadTask.cpp | |
parent | d5c79db12c326bd0175cd2990764948a536abbbb (diff) | |
download | MultiMC-84549ed8078bdbd029aa5a89facc0412b8b5e753.tar MultiMC-84549ed8078bdbd029aa5a89facc0412b8b5e753.tar.gz MultiMC-84549ed8078bdbd029aa5a89facc0412b8b5e753.tar.lz MultiMC-84549ed8078bdbd029aa5a89facc0412b8b5e753.tar.xz MultiMC-84549ed8078bdbd029aa5a89facc0412b8b5e753.zip |
GH-849 Further NetJob related fixes
Diffstat (limited to 'logic/updater/DownloadTask.cpp')
-rw-r--r-- | logic/updater/DownloadTask.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/logic/updater/DownloadTask.cpp b/logic/updater/DownloadTask.cpp index 65d894f9..f19607a5 100644 --- a/logic/updater/DownloadTask.cpp +++ b/logic/updater/DownloadTask.cpp @@ -159,11 +159,10 @@ void DownloadTask::fileDownloadFinished() emitSucceeded(); } -void DownloadTask::fileDownloadFailed() +void DownloadTask::fileDownloadFailed(QString reason) { - // TODO: Give more info about the failure. - qCritical() << "Failed to download update files."; - emitFailed(tr("Failed to download update files.")); + qCritical() << "Failed to download update files:" << reason; + emitFailed(tr("Failed to download update files: %1").arg(reason)); } void DownloadTask::fileDownloadProgressChanged(qint64 current, qint64 total) |