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

Port to new connect api

parent fd6c56e1
......@@ -141,8 +141,8 @@ QWidget *ContactGroupEditorDelegate::createEditor(QWidget *parent, const QStyleO
const bool isReference = index.data(ContactGroupModel::IsReferenceRole).toBool();
Q_UNUSED(option)
if (index.column() == 0) {
auto edit = new ContactLineEdit(isReference, ContactCompletionModel::EmailColumn, parent);
connect(edit, SIGNAL(completed(QWidget*)), SLOT(completed(QWidget*)));
ContactLineEdit *edit = new ContactLineEdit(isReference, ContactCompletionModel::EmailColumn, parent);
connect(edit, QOverload<QWidget *>::of(&ContactLineEdit::completed), this, &ContactGroupEditorDelegate::completed);
return edit;
} else {
......
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