mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 18:42:11 +01:00
19 lines
384 B
C++
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();
|
|
}
|