Mercurial > minori
diff src/gui/widgets/clickable_label.cc @ 301:b1f625b0227c
*: convert all files CRLF -> LF
some files were in DOS format, others were in unix. now everything
(that at least is under our control) should all be the same format
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 13 May 2024 15:04:51 -0400 |
parents | b3549da699a6 |
children |
line wrap: on
line diff
--- a/src/gui/widgets/clickable_label.cc Mon May 13 14:56:37 2024 -0400 +++ b/src/gui/widgets/clickable_label.cc Mon May 13 15:04:51 2024 -0400 @@ -1,12 +1,12 @@ -#include "gui/widgets/clickable_label.h" - -ClickableLabel::ClickableLabel(QWidget* parent) : QLabel(parent) { - setCursor(Qt::PointingHandCursor); -} - -ClickableLabel::~ClickableLabel() { -} - -void ClickableLabel::mousePressEvent(QMouseEvent*) { - emit clicked(); -} +#include "gui/widgets/clickable_label.h" + +ClickableLabel::ClickableLabel(QWidget* parent) : QLabel(parent) { + setCursor(Qt::PointingHandCursor); +} + +ClickableLabel::~ClickableLabel() { +} + +void ClickableLabel::mousePressEvent(QMouseEvent*) { + emit clicked(); +}