Commit 62c32d0c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Honor KDE Kiosk setting lineedit_reveal_password

parent 32743860
Pipeline #67349 passed with stage
in 6 minutes and 39 seconds
......@@ -14,6 +14,7 @@
#include "transport.h"
#include <config-enterprise.h>
#include <KAuthorized>
#include <KEmailAddress>
#include <PimCommon/EmailValidator>
......@@ -37,6 +38,7 @@ PersonalDataPage::PersonalDataPage(Dialog *parent)
ui.setupUi(pageParent);
ui.mProgress->stop();
ui.passwordEdit->setRevealPasswordAvailable(KAuthorized::authorize(QStringLiteral("lineedit_reveal_password")));
auto *emailValidator = new PimCommon::EmailValidator(this);
ui.emailEdit->setValidator(emailValidator);
......
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