Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8301e547 authored by Laurent Montel's avatar Laurent Montel 😁

Use new connect api

parent 072795bb
......@@ -221,7 +221,11 @@ void LdapClientSearch::Private::slotFileChanged(const QString &file)
void LdapClientSearch::startSearch(const QString &txt)
{
if (d->mNoLDAPLookup) {
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QMetaObject::invokeMethod(this, &LdapClientSearch::searchDone, Qt::QueuedConnection);
#else
QMetaObject::invokeMethod(this, "searchDone", Qt::QueuedConnection);
#endif
return;
}
......
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