diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-26 23:04:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-26 23:04:50 +0200 |
commit | f8650e3965582a57c3d0ccb5f234e6229051b16a (patch) | |
tree | f815fc22ae303e0ebe491a5d38b3f09c94da948d /logic/status | |
parent | 84549ed8078bdbd029aa5a89facc0412b8b5e753 (diff) | |
download | MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar.gz MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar.lz MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.tar.xz MultiMC-f8650e3965582a57c3d0ccb5f234e6229051b16a.zip |
NOISSUE eliminate ProgressProvider
Diffstat (limited to 'logic/status')
-rw-r--r-- | logic/status/StatusChecker.cpp | 4 | ||||
-rw-r--r-- | logic/status/StatusChecker.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/logic/status/StatusChecker.cpp b/logic/status/StatusChecker.cpp index 5e6cc612..13cac037 100644 --- a/logic/status/StatusChecker.cpp +++ b/logic/status/StatusChecker.cpp @@ -104,9 +104,9 @@ void StatusChecker::statusDownloadFinished() succeed(); } -void StatusChecker::statusDownloadFailed() +void StatusChecker::statusDownloadFailed(QString reason) { - fail("Failed to load status JSON."); + fail(tr("Failed to load status JSON:\n%1").arg(reason)); } diff --git a/logic/status/StatusChecker.h b/logic/status/StatusChecker.h index 316066fe..28283eb3 100644 --- a/logic/status/StatusChecker.h +++ b/logic/status/StatusChecker.h @@ -44,7 +44,7 @@ signals: protected slots: void statusDownloadFinished(); - void statusDownloadFailed(); + void statusDownloadFailed(QString reason); protected: QMap<QString, QString> m_prevEntries; |