Browse Source

Merge pull request #11538 from glassez/rss-logging

Log "RSS Feed successfully downloaded" event
adaptive-webui-19844
Vladimir Golovnev 5 years ago committed by GitHub
parent
commit
a73dfe4a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/base/rss/rss_feed.cpp

4
src/base/rss/rss_feed.cpp

@ -33,7 +33,6 @@ @@ -33,7 +33,6 @@
#include <algorithm>
#include <vector>
#include <QDebug>
#include <QDir>
#include <QJsonArray>
#include <QJsonDocument>
@ -195,7 +194,8 @@ bool Feed::hasError() const @@ -195,7 +194,8 @@ bool Feed::hasError() const
void Feed::handleDownloadFinished(const Net::DownloadResult &result)
{
if (result.status == Net::DownloadStatus::Success) {
qDebug() << "Successfully downloaded RSS feed at" << result.url;
LogMsg(tr("RSS feed at '%1' is successfully downloaded. Starting to parse it.")
.arg(result.url));
// Parse the download RSS
m_parser->parse(result.data);
}

Loading…
Cancel
Save