modernize: Migrate action-related things to PMF connects
[quassel.git] / src / qtui / chatitem.cpp
index d94a2a9..8063a97 100644 (file)
@@ -872,7 +872,7 @@ void ContentsChatItem::addActionsToMenu(QMenu *menu, const QPointF &pos)
         case Clickable::Url:
         {
             privateData()->activeClickable = click;
-            auto action = new Action{icon::get("edit-copy"), tr("Copy Link Address"), menu, &_actionProxy, SLOT(copyLinkToClipboard())};
+            auto action = new Action{icon::get("edit-copy"), tr("Copy Link Address"), menu, &_actionProxy, &ActionProxy::copyLinkToClipboard};
             action->setData(QVariant::fromValue<void *>(this));
             menu->addAction(action);
             break;