X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=7ad093dbde6bae8841b43f1c4afe85f410a6d1f8;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hp=913c81e72784bcf06688ea5b8bf7b7fb979286ab;hpb=3dd76d9373fb46b7be3f7f963b3d3a38ded63ae5;p=quassel.git diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 913c81e7..7ad093db 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-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -214,7 +214,7 @@ void ChatItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, // layout()->draw(painter, QPointF(0,0), formats, boundingRect()); - // Debuging Stuff + // Debugging Stuff // uncomment partially or all of the following stuff: // // 0) alternativ painter color for debug stuff @@ -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; }