cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / qtui / chatitem.cpp
index 913c81e..7ad093d 100644 (file)
@@ -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<void*>(this));
+            action->setData(QVariant::fromValue(static_cast<void*>(this)));
             menu->addAction(action);
             break;
         }