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

19 lines
384 B
C++
Raw Normal View History

#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();
}