Commit 80a45797 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[DownloadJob] Set processed amount when download finishes

parent 53a2d262
......@@ -221,6 +221,7 @@ void DownloadJob::update(const QJsonObject &payload)
// We ignore "interrupted" state and only cancel if we get supplied an "error"
if (state == QLatin1String("complete")) {
setError(KJob::NoError);
setProcessedAmount(KJob::Files, 1);
emitResult();
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment