Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail Account Wizard
Commits
14ed6332
Commit
14ed6332
authored
Nov 30, 2020
by
Laurent Montel
Browse files
Warning--
parent
9f8fed18
Pipeline
#42582
passed with stage
in 13 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ldap.cpp
View file @
14ed6332
...
@@ -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
;
u
int
selHosts
=
group
.
readEntry
(
"NumSelectedHosts"
,
0
);
int
selHosts
=
group
.
readEntry
(
"NumSelectedHosts"
,
0
);
for
(
u
int
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment