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
9abc7c6b
Commit
9abc7c6b
authored
Nov 20, 2020
by
Laurent Montel
😁
Browse files
Remove warning
parent
4817720b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/ldapclientsearchconfig.cpp
View file @
9abc7c6b
...
@@ -189,7 +189,7 @@ void LdapClientSearchConfig::writeConfig(const KLDAP::LdapServer &server, KConfi
...
@@ -189,7 +189,7 @@ void LdapClientSearchConfig::writeConfig(const KLDAP::LdapServer &server, KConfi
const
QString
password
=
server
.
password
();
const
QString
password
=
server
.
password
();
if
(
!
password
.
isEmpty
())
{
if
(
!
password
.
isEmpty
())
{
auto
writeJob
=
new
WritePasswordJob
(
QStringLiteral
(
"ldapclient"
),
this
);
auto
writeJob
=
new
WritePasswordJob
(
QStringLiteral
(
"ldapclient"
),
this
);
connect
(
writeJob
,
&
Job
::
finished
,
this
,
[
this
](
QKeychain
::
Job
*
baseJob
)
{
connect
(
writeJob
,
&
Job
::
finished
,
this
,
[](
QKeychain
::
Job
*
baseJob
)
{
if
(
baseJob
->
error
())
{
if
(
baseJob
->
error
())
{
qCWarning
(
LDAPCLIENT_LOG
)
<<
"Error writing password using QKeychain:"
<<
baseJob
->
errorString
();
qCWarning
(
LDAPCLIENT_LOG
)
<<
"Error writing password using QKeychain:"
<<
baseJob
->
errorString
();
}
}
...
...
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