Commit aabec3f9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor optimization

parent 806e7586
Pipeline #41817 passed with stage
in 8 minutes and 37 seconds
......@@ -149,8 +149,7 @@ void LdapClientSearchConfig::readConfig(KLDAP::LdapServer &server, KConfigGroup
server.setPageSize(config.readEntry(prefix + QStringLiteral("PageSize%1").arg(j), 0));
server.setVersion(config.readEntry(prefix + QStringLiteral("Version%1").arg(j), 3));
QString tmp;
tmp = config.readEntry(prefix + QStringLiteral("Security%1").arg(j),
QString tmp = config.readEntry(prefix + QStringLiteral("Security%1").arg(j),
QStringLiteral("None"));
server.setSecurity(KLDAP::LdapServer::None);
if (tmp == QLatin1String("SSL")) {
......
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