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
a63a231d
Commit
a63a231d
authored
Jun 24, 2021
by
Laurent Montel
😁
Browse files
Honor KDE Kiosk setting lineedit_reveal_password
parent
dd335bcd
Pipeline
#67348
passed with stage
in 4 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/ldapconfigwidget.cpp
View file @
a63a231d
...
...
@@ -9,6 +9,7 @@
#include "ldapsearch.h"
#include "ldap_debug.h"
#include <KAuthorized>
#include <KLocalizedString>
#include <KPasswordLineEdit>
#include <QComboBox>
...
...
@@ -129,6 +130,7 @@ void LdapConfigWidget::Private::initWidget()
label
=
new
QLabel
(
i18n
(
"Password:"
),
mParent
);
mPassword
=
new
KPasswordLineEdit
(
mParent
);
mPassword
->
setObjectName
(
QStringLiteral
(
"kcfg_ldappassword"
));
mPassword
->
setRevealPasswordAvailable
(
KAuthorized
::
authorize
(
QStringLiteral
(
"lineedit_reveal_password"
)));
mainLayout
->
addWidget
(
label
,
row
,
0
);
mainLayout
->
addWidget
(
mPassword
,
row
,
1
,
1
,
3
);
...
...
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