Commit fe7de5de authored by Laurent Montel's avatar Laurent Montel 😁

Add code for configurating akonadi resource

parent 8fdbee66
......@@ -66,9 +66,13 @@ QVector<MailTransport::TransportAbstractPluginInfo> AkonadiMailTransportPlugin::
bool AkonadiMailTransportPlugin::configureTransport(const QString &identifier, MailTransport::Transport *transport, QWidget *parent)
return false;
AgentInstance instance = AgentManager::self()->instance( transport->host() );
if ( !instance.isValid() ) {
qWarning() << "Invalid resource instance" << transport->host();
instance.configure( parent ); // Async...
return true; // No way to know here if the user cancelled or not.
MailTransport::TransportJob *AkonadiMailTransportPlugin::createTransportJob(MailTransport::Transport *t, const QString &identifier)
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