Commit 2c79da6c authored by Laurent Montel's avatar Laurent Montel 😁

contains returns a boolean

parent d296ba6b
......@@ -161,7 +161,7 @@ void SMTPConfigWidget::init()
d->resetAuthCapabilities();
if (KProtocolInfo::capabilities(SMTP_PROTOCOL).contains(QStringLiteral("SASL")) == 0) {
if (!KProtocolInfo::capabilities(SMTP_PROTOCOL).contains(QStringLiteral("SASL"))) {
d->ui.authCombo->removeItem(d->ui.authCombo->findData(
Transport::EnumAuthenticationType::NTLM));
d->ui.authCombo->removeItem(d->ui.authCombo->findData(
......
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