summaryrefslogtreecommitdiffstats
path: root/logic/status
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-26 23:04:50 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-26 23:04:50 +0200
commitf8650e3965582a57c3d0ccb5f234e6229051b16a (patch)
treef815fc22ae303e0ebe491a5d38b3f09c94da948d /logic/status
parent84549ed8078bdbd029aa5a89facc0412b8b5e753 (diff)
downloadMultiMC-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.cpp4
-rw-r--r--logic/status/StatusChecker.h2
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;