Commit 80564a9d authored by Laurent Montel's avatar Laurent Montel 😁

Add debug

parent 77bfda11
...@@ -464,6 +464,10 @@ void TransportManagerPrivate::fillTypes() ...@@ -464,6 +464,10 @@ void TransportManagerPrivate::fillTypes()
Q_ASSERT(types.isEmpty()); Q_ASSERT(types.isEmpty());
for (MailTransport::TransportAbstractPlugin * plugin : MailTransport::TransportPluginManager::self()->pluginsList()) { for (MailTransport::TransportAbstractPlugin * plugin : MailTransport::TransportPluginManager::self()->pluginsList()) {
qDebug() << " plugin "<< plugin;
if (plugin->names().isEmpty()) {
qCDebug(MAILTRANSPORT_LOG) << "Plugin " << plugin << " doesn't provide plugin";
}
for (const MailTransport::TransportAbstractPluginInfo &info : plugin->names()) { for (const MailTransport::TransportAbstractPluginInfo &info : plugin->names()) {
TransportType type; TransportType type;
type.d->mName = info.name; type.d->mName = info.name;
......
...@@ -123,6 +123,7 @@ AddTransportDialogNG::AddTransportDialogNG(QWidget *parent) ...@@ -123,6 +123,7 @@ AddTransportDialogNG::AddTransportDialogNG(QWidget *parent)
treeItem->setText(0, type.name()); treeItem->setText(0, type.name());
treeItem->setText(1, type.description()); treeItem->setText(1, type.description());
treeItem->setData(0, Qt::UserRole, type.identifier()); // the transport type treeItem->setData(0, Qt::UserRole, type.identifier()); // the transport type
qDebug() << " ADD type " << type.name();
//PORT ME //PORT ME
/* /*
if (type.type() == TransportBase::EnumType::SMTP) { if (type.type() == TransportBase::EnumType::SMTP) {
......
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