Commit 845f48c8 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 5cf04abe
......@@ -208,8 +208,7 @@ void SendJob::Private::doTraditionalTransport()
job->setBcc(addressAttribute->bcc());
// Signals.
connect(job, SIGNAL(result(KJob*)),
q, SLOT(transportResult(KJob*)));
connect(job, &TransportJob::result, q, [this](KJob *job) { transportResult(job);});
connect(job, SIGNAL(percent(KJob*,ulong)),
q, SLOT(transportPercent(KJob*,ulong)));
......
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