Commit b28a7e83 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use rejected boolean

parent 012feeee
......@@ -433,7 +433,20 @@ void SetupServer::readSettings()
rejected = false;
const QString customPassword = m_parentResource->settings()->sieveCustomPassword(&rejected);
if (rejected) {
KMessageBox::information(Q_NULLPTR, i18n("Could not access KWallet. "
"If you want to store the password permanently then you have to "
"activate it. If you do not "
"want to use KWallet, check the box below, but note that you will be "
"prompted for your password when needed."),
i18n("Do not use KWallet"), QStringLiteral("warning_kwallet_disabled"));
} else {
const QString sieverCustomAuth(m_parentResource->settings()->sieveCustomAuthentification());
if (sieverCustomAuth == QLatin1String("ImapUserPassword")) {
Supports Markdown
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