Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KLDAP
Commits
b6ef99f5
Commit
b6ef99f5
authored
Dec 04, 2020
by
Laurent Montel
😁
Browse files
Fix method name
parent
23a6ba7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/widgets/ldapclientsearchconfigreadconfigjob.cpp
View file @
b6ef99f5
...
...
@@ -180,12 +180,12 @@ void LdapClientSearchConfigReadConfigJob::readConfig()
const
QString
pwdBindBNEntry
=
prefix
+
QStringLiteral
(
"PwdBind%1"
).
arg
(
mServerIndex
);
auto
readJob
=
new
ReadPasswordJob
(
QStringLiteral
(
"ldapclient"
),
this
);
connect
(
readJob
,
&
Job
::
finished
,
this
,
&
LdapClientSearchConfigReadConfigJob
::
read
SieveServer
PasswordFinished
);
connect
(
readJob
,
&
Job
::
finished
,
this
,
&
LdapClientSearchConfigReadConfigJob
::
read
Ldap
PasswordFinished
);
readJob
->
setKey
(
pwdBindBNEntry
);
readJob
->
start
();
}
void
LdapClientSearchConfigReadConfigJob
::
read
SieveServer
PasswordFinished
(
QKeychain
::
Job
*
baseJob
)
void
LdapClientSearchConfigReadConfigJob
::
read
Ldap
PasswordFinished
(
QKeychain
::
Job
*
baseJob
)
{
auto
*
job
=
qobject_cast
<
ReadPasswordJob
*>
(
baseJob
);
Q_ASSERT
(
job
);
...
...
src/widgets/ldapclientsearchconfigreadconfigjob.h
View file @
b6ef99f5
...
...
@@ -37,7 +37,7 @@ Q_SIGNALS:
void
configLoaded
(
const
KLDAP
::
LdapServer
&
server
);
private:
void
read
SieveServer
PasswordFinished
(
QKeychain
::
Job
*
baseJob
);
void
read
Ldap
PasswordFinished
(
QKeychain
::
Job
*
baseJob
);
void
readLdapClientConfigFinished
();
void
readConfig
();
int
mServerIndex
=
-
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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