Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 11dcb376 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 01b5cd7b
......@@ -150,8 +150,8 @@ void EmailAddressSelectionWidget::Private::init()
q->connect(mSearchLine, &QLineEdit::textChanged,
filter, &ContactsFilterProxyModel::setFilterString);
q->connect(mView, SIGNAL(doubleClicked(Akonadi::Item)),
q, SIGNAL(doubleClicked()));
q->connect(mView, QOverload<const Akonadi::Item &>::of(&Akonadi::EntityTreeView::doubleClicked),
q, [this]() { Q_EMIT q->doubleClicked(); });
ControlGui::widgetNeedsAkonadi(q);
mSearchLine->setFocus();
......
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