This commit is contained in:
Tobias Fella 2021-03-16 15:59:31 +01:00
parent 205f7a71d3
commit 8895fcc5a9
No known key found for this signature in database
GPG Key ID: E55EDAB3CA5D9925
1 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
#include <QNetworkReply>
#include <QTimer>
#include <KLocalizedString>
#include "enclosuredownloadjob.h"
#include "fetcher.h"
@ -27,7 +29,7 @@ void EnclosureDownloadJob::startDownload()
{
m_reply = Fetcher::instance().download(m_url);
Q_EMIT description(this, QStringLiteral("Downloading %1").arg(m_title));
Q_EMIT description(this, i18n("Downloading %1", m_title));
connect(m_reply, &QNetworkReply::downloadProgress, this, [this](qint64 received, qint64 total) {
setProcessedAmount(Bytes, received);