Commit 0e1653f4 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix description signal regression in CreateJob

The AddJob's description is now visible again in the system tray when
creating archives from Dolphin.

Differential Revision: D3371
parent 046b2092
......@@ -438,6 +438,11 @@ void CreateJob::doWork()
if (addJob) {
connect(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(addJob, &KJob::description, this, [=](KJob *, const QString &title, const QPair<QString,QString> &field1, const QPair<QString,QString> &) {
emit description(this, title, field1);
});
addJob->start();
} else {
emitResult();
......
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