diff --git a/kerfuffle/jobs.cpp b/kerfuffle/jobs.cpp --- a/kerfuffle/jobs.cpp +++ b/kerfuffle/jobs.cpp @@ -473,17 +473,16 @@ void CreateJob::doWork() { + connect(archiveInterface(), &ReadOnlyArchiveInterface::progress, this, &CreateJob::onProgress); + m_addJob = archive()->addFiles(m_entries, nullptr, m_options); if (m_addJob) { connect(m_addJob, &KJob::result, this, &CreateJob::emitResult); // Forward description signal from AddJob, we need to change the first argument ('this' needs to be a CreateJob). connect(m_addJob, &KJob::description, this, [=](KJob *, const QString &title, const QPair &field1, const QPair &) { emit description(this, title, field1); }); - connect(m_addJob, QOverload::of(&KJob::percent), this, [=](KJob*, unsigned long percent) { - emitPercent(percent, 100); - }); m_addJob->start(); } else {