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

Select SMTP by default

parent 1e7ee6fe
......@@ -124,12 +124,9 @@ AddTransportDialogNG::AddTransportDialogNG(QWidget *parent)
treeItem->setText(0, type.name());
treeItem->setText(1, type.description());
treeItem->setData(0, Qt::UserRole, type.identifier()); // the transport type
//PORT ME
/*
if (type.type() == TransportBase::EnumType::SMTP) {
if (type.identifier() == QStringLiteral("SMTP")) {
treeItem->setSelected(true); // select SMTP by default
}
*/
}
d->ui.typeListView->resizeColumnToContents(0);
......
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