X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;fp=src%2Fqtui%2Fchatitem.cpp;h=fe2e3e70790ce90e5b72665742749e808825d8d1;hp=913c81e72784bcf06688ea5b8bf7b7fb979286ab;hb=41bf70c263ee0af80ad1850fabe77ffffee188f4;hpb=579e559a6322209df7cd51c34801fecff5fe734b diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 913c81e7..fe2e3e70 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -824,7 +824,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, &ActionProxy::copyLinkToClipboard}; - action->setData(QVariant::fromValue(this)); + action->setData(QVariant::fromValue(static_cast(this))); menu->addAction(action); break; }