summaryrefslogtreecommitdiffstats
path: root/logic/status
diff options
context:
space:
mode:
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;