Commit 248fba61 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compiles

parent c011d7ae
......@@ -85,7 +85,7 @@ void GearySettings::readTransport()
const QString host = settings->value(QStringLiteral("smtp_host")).toString();
if (!host.isEmpty()) {
MailTransport::Transport *mt = createTransport();
mt->setType(MailTransport::Transport::EnumType::SMTP);
mt->setIdentifier(QStringLiteral("SMTP"));
mt->setHost(host);
const int port = settings->value(QStringLiteral("msa.smtp.port"), -1).toInt();
if (port != -1) {
......
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