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

Coding style

parent 8dc26b62
......@@ -24,7 +24,7 @@
using namespace Akonadi;
K_PLUGIN_FACTORY_WITH_JSON(AkonadiMailTransportPluginFactory, "akonadimailtransport.json", registerPlugin<AkonadiMailTransportPlugin>();
)
)
AkonadiMailTransportPlugin::AkonadiMailTransportPlugin(QObject *parent, const QList<QVariant> &)
: MailTransport::TransportAbstractPlugin(parent)
......@@ -48,7 +48,7 @@ QVector<MailTransport::TransportAbstractPluginInfo> AkonadiMailTransportPlugin::
for (const AgentType &atype : AgentManager::self()->types()) {
// TODO probably the string "MailTransport" should be #defined somewhere
// and used like that in the resources (?)
if ( atype.capabilities().contains( QStringLiteral( "MailTransport" ) ) ) {
if (atype.capabilities().contains(QStringLiteral("MailTransport"))) {
MailTransport::TransportAbstractPluginInfo info;
info.name = atype.name();
info.description = atype.description();
......
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