summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-02 07:00:26 +0200
committerMontel Laurent <[email protected]>2017-10-02 07:00:26 +0200
commit845f48c80037ca89f1dc7dec489feefc25474408 (patch)
tree032431f5877f46df8df4383bebfa1e59412fa839
parent5cf04abe3d04df9dd9c3ce9b0b8e7368d7fe96fe (diff)
Port to new connect api
-rw-r--r--agents/maildispatcher/sendjob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/agents/maildispatcher/sendjob.cpp b/agents/maildispatcher/sendjob.cpp
index c7d1716..01b53d3 100644
--- a/agents/maildispatcher/sendjob.cpp
+++ b/agents/maildispatcher/sendjob.cpp
@@ -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)));