1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 18:42:11 +01:00
falkonOfficial/src/rss/rssicon.cpp

19 lines
384 B
C++

#include "rssicon.h"
RssIcon::RssIcon(QWidget* parent)
: ClickableLabel(parent)
{
setObjectName("locationbar-rss-icon");
setCursor(Qt::PointingHandCursor);
setFocusPolicy(Qt::ClickFocus);
setVisible(false);
}
void RssIcon::mousePressEvent(QMouseEvent* ev)
{
ClickableLabel::mousePressEvent(ev);
// Prevent propagating to LocationBar
ev->accept();
}