summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-04 21:15:38 +0200
committerMontel Laurent <[email protected]>2017-10-04 21:15:38 +0200
commit8816fd5961ac25b212b46dd35dd70eb6751138cb (patch)
tree8c688cb0734c94e3462bbb0b4c038003fa00cc3d
parent2c401cf641fbb03e5a9780417717c8d072499aa4 (diff)
Port to new connect api
-rw-r--r--src/libkdepim/ldap/ldapclient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libkdepim/ldap/ldapclient.cpp b/src/libkdepim/ldap/ldapclient.cpp
index d07c8d0..bde2f74 100644
--- a/src/libkdepim/ldap/ldapclient.cpp
+++ b/src/libkdepim/ldap/ldapclient.cpp
@@ -146,8 +146,8 @@ void LdapClient::startQuery(const QString &filter)
this, SLOT(slotData(KIO::Job*,QByteArray)));
connect(d->mJob, SIGNAL(infoMessage(KJob*,QString,QString)),
this, SLOT(slotInfoMessage(KJob*,QString,QString)));
- connect(d->mJob, SIGNAL(result(KJob*)),
- this, SLOT(slotDone()));
+ connect(d->mJob.data(), &KJob::result,
+ this, [this]() { d->slotDone(); });
}
void LdapClient::cancelQuery()