Commit 6845ea04 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Info about sender account too

parent 9269627d
......@@ -23,6 +23,7 @@
#include <KLocalizedString>
#include <MailCommon/MailUtil>
#include <AkonadiCore/AgentInstance>
#include <MailTransport/TransportManager>
AccountInfoSource::AccountInfoSource()
: KUserFeedback::AbstractDataSource(QStringLiteral("accounts"), KUserFeedback::Provider::DetailedSystemInformation)
......@@ -86,5 +87,11 @@ QVariant AccountInfoSource::data()
l.push_back(m);
}
//Mail Transport
QVariantMap m;
m.insert(QStringLiteral("name"), QStringLiteral("sender"));
m.insert(QStringLiteral("number"), MailTransport::TransportManager::self()->transports().count());
l.push_back(m);
return l;
}
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