Commit 394d17ad authored by Laurent Montel's avatar Laurent Montel 😁

Add more debug

parent 80564a9d
......@@ -92,6 +92,7 @@ void AddTransportDialogNG::Private::doubleClicked()
void AddTransportDialogNG::Private::updateOkButton()
{
// Make sure a type is selected before allowing the user to continue.
qDebug() << " selectedType()"<<selectedType();
okButton->setEnabled(!selectedType().isEmpty() && !ui.name->text().trimmed().isEmpty());
}
......@@ -123,7 +124,7 @@ AddTransportDialogNG::AddTransportDialogNG(QWidget *parent)
treeItem->setText(0, type.name());
treeItem->setText(1, type.description());
treeItem->setData(0, Qt::UserRole, type.identifier()); // the transport type
qDebug() << " ADD type " << type.name();
qDebug() << " ADD type " << type.name() << "type.identifier()"<<type.identifier();
//PORT ME
/*
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