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

Add tooltip

parent 89e47ddc
......@@ -122,6 +122,7 @@ AddTransportDialogNG::AddTransportDialogNG(QWidget *parent)
QTreeWidgetItem *treeItem = new QTreeWidgetItem(d->ui.typeListView);
treeItem->setText(1, type.description());
treeItem->setToolTip(1, type.description());
treeItem->setData(0, Qt::UserRole, type.identifier()); // the transport type
if (type.identifier() == QStringLiteral("SMTP")) {
treeItem->setSelected(true); // select SMTP by default
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