Commit 14ed6332 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Warning--

parent 9f8fed18
Pipeline #42582 passed with stage
in 13 minutes and 1 second
...@@ -80,8 +80,8 @@ void Ldap::create() ...@@ -80,8 +80,8 @@ void Ldap::create()
KConfig *c = config(); KConfig *c = config();
KConfigGroup group = c->group(QStringLiteral("LDAP")); KConfigGroup group = c->group(QStringLiteral("LDAP"));
bool hasMyServer = false; bool hasMyServer = false;
uint selHosts = group.readEntry("NumSelectedHosts", 0); int selHosts = group.readEntry("NumSelectedHosts", 0);
for (uint i = 0; i < selHosts && !hasMyServer; ++i) { for (int i = 0; i < selHosts && !hasMyServer; ++i) {
if (group.readEntry(QStringLiteral("SelectedHost%1").arg(i), QString()) == host) { if (group.readEntry(QStringLiteral("SelectedHost%1").arg(i), QString()) == host) {
hasMyServer = true; hasMyServer = true;
m_entry = i; m_entry = i;
......
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