X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=7aa75aaac1feec3982aca6b77fa476e121be9798;hb=5c16b6e05eef3343594d9cac10a96e1e098bbefd;hp=913c81e72784bcf06688ea5b8bf7b7fb979286ab;hpb=3dd76d9373fb46b7be3f7f963b3d3a38ded63ae5;p=quassel.git diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 913c81e7..7aa75aaa 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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; }