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 0f2c6c11 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent bc239a43
......@@ -275,8 +275,8 @@ ContactViewer::ContactViewer(QWidget *parent)
d->mBrowser = new TextBrowser;
connect(d->mBrowser, SIGNAL(anchorClicked(QUrl)),
this, SLOT(slotUrlClicked(QUrl)));
connect(d->mBrowser, &TextBrowser::anchorClicked,
this, [this](const QUrl &url) { d->slotUrlClicked(url);});
layout->addWidget(d->mBrowser);
......
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