summaryrefslogtreecommitdiffstats
path: root/logic/news/NewsChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/news/NewsChecker.cpp')
-rw-r--r--logic/news/NewsChecker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/news/NewsChecker.cpp b/logic/news/NewsChecker.cpp
index 39796e36..be4aa1d1 100644
--- a/logic/news/NewsChecker.cpp
+++ b/logic/news/NewsChecker.cpp
@@ -33,7 +33,7 @@ void NewsChecker::reloadNews()
qDebug() << "Ignored request to reload news. Currently reloading already.";
return;
}
-
+
qDebug() << "Reloading news.";
NetJob* job = new NetJob("News RSS Feed");
@@ -95,10 +95,10 @@ void NewsChecker::rssDownloadFinished()
succeed();
}
-void NewsChecker::rssDownloadFailed()
+void NewsChecker::rssDownloadFailed(QString reason)
{
// Set an error message and fail.
- fail("Failed to load news RSS feed.");
+ fail(tr("Failed to load news RSS feed:\n%1").arg(reason));
}