Override mousePressEvent

This commit is contained in:
Lukas Brübach 2025-01-22 15:25:52 +01:00
parent a0222202e5
commit dcf9d062e2

View file

@ -13,7 +13,7 @@ public:
const QString &text,
Qt::Orientation orientation = Qt::Vertical,
int transparency = 80);
void mousePressEvent(QMouseEvent *event);
void mousePressEvent(QMouseEvent *event) override;
void setBuddy(QWidget *_buddy)
{
buddy = _buddy;