Commit 6db65d75 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

BacthExtractJob: fix forwarding of errors

Now ark shows again the error dialog when a wrong password is provided
upon batch-extracting header-encrypted archives.

Task: 1877
parent 60ea7b39
......@@ -343,7 +343,7 @@ void BatchExtractJob::doWork()
connect(m_loadJob, &KJob::result, this, &BatchExtractJob::slotLoadingFinished);
// Forward signals
// Forward LoadJob's signals.
connect(m_loadJob, &Kerfuffle::Job::newEntry, this, &BatchExtractJob::newEntry);
connect(m_loadJob, &Kerfuffle::Job::userQuery, this, &BatchExtractJob::userQuery);
......@@ -352,7 +352,9 @@ void BatchExtractJob::doWork()
void BatchExtractJob::slotLoadingFinished(KJob *job)
if (job->error()) {
// Forward errors as well.
onError(job->errorString(), QString());
Supports Markdown
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