Commit 17d4a58c authored by Laurent Montel's avatar Laurent Montel 😁

Not necessary to make multi check

parent b24c8269
......@@ -233,11 +233,9 @@ void SMTPConfigWidget::apply()
if (d->ui.encryptionNone->isChecked()) {
d->transport->setEncryption(Transport::EnumEncryption::None);
}
if (d->ui.encryptionSsl->isChecked()) {
} else if (d->ui.encryptionSsl->isChecked()) {
d->transport->setEncryption(Transport::EnumEncryption::SSL);
}
if (d->ui.encryptionTls->isChecked()) {
} else if (d->ui.encryptionTls->isChecked()) {
d->transport->setEncryption(Transport::EnumEncryption::TLS);
}
......
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