aboutsummaryrefslogtreecommitdiff
path: root/launcher/news/NewsChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/news/NewsChecker.cpp')
-rw-r--r--launcher/news/NewsChecker.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/launcher/news/NewsChecker.cpp b/launcher/news/NewsChecker.cpp
index 4f02bf5e..11ba5311 100644
--- a/launcher/news/NewsChecker.cpp
+++ b/launcher/news/NewsChecker.cpp
@@ -49,8 +49,7 @@ NewsChecker::NewsChecker(shared_qobject_ptr<QNetworkAccessManager> network, cons
void NewsChecker::reloadNews()
{
// Start a netjob to download the RSS feed and call rssDownloadFinished() when it's done.
- if (isLoadingNews())
- {
+ if (isLoadingNews()) {
qDebug() << "Ignored request to reload news. Currently reloading already.";
return;
}
@@ -113,7 +112,6 @@ void NewsChecker::rssDownloadFailed(QString reason)
fail(tr("Failed to load news RSS feed:\n%1").arg(reason));
}
-
QList<NewsEntryPtr> NewsChecker::getNewsEntries() const
{
return m_newsEntries;
@@ -144,4 +142,3 @@ void NewsChecker::fail(const QString& errorMsg)
m_newsNetJob.reset();
emit newsLoadingFailed(errorMsg);
}
-