aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-18 22:18:05 +0200
committerMontel Laurent <[email protected]>2017-10-18 22:18:05 +0200
commit0f2c6c11f6a8f03e7212f542b631d220d41c6d76 (patch)
tree5d464ca4536a54bad3f6ef1bb90507bc194f8748
parentbc239a436f3fb133c15fc924ceded2fdd05c923f (diff)
Port to new connect api
-rw-r--r--src/akonadi-contacts/contactviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/akonadi-contacts/contactviewer.cpp b/src/akonadi-contacts/contactviewer.cpp
index 1dd3192..57182b1 100644
--- a/src/akonadi-contacts/contactviewer.cpp
+++ b/src/akonadi-contacts/contactviewer.cpp
@@ -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);