diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-06-17 01:46:09 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-06-17 01:46:09 -0500 |
| commit | 05aa96d20ca726908a7d8b1943f86f0c4e11bf18 (patch) | |
| tree | bd45913d1c7a033088f3456e40c8b44c72818ace /libs/installer_fomod_plus/installer/ui/ClickableWidget.h | |
| parent | 30d2c801a01eeb140ddd5adf8676f2626ecff3fa (diff) | |
Prepare Nexus-safe release cleanup
Diffstat (limited to 'libs/installer_fomod_plus/installer/ui/ClickableWidget.h')
| -rw-r--r-- | libs/installer_fomod_plus/installer/ui/ClickableWidget.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libs/installer_fomod_plus/installer/ui/ClickableWidget.h b/libs/installer_fomod_plus/installer/ui/ClickableWidget.h deleted file mode 100644 index 881600f..0000000 --- a/libs/installer_fomod_plus/installer/ui/ClickableWidget.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include <QMouseEvent> -#include <QWidget> - -class ClickableWidget final : public QWidget { - Q_OBJECT - -public: - explicit ClickableWidget(QWidget* parent = nullptr) : QWidget(parent) { - setCursor(Qt::PointingHandCursor); - } - - signals: - void clicked(); - -protected: - void mousePressEvent(QMouseEvent* event) override { - if (event->button() == Qt::LeftButton) { - emit clicked(); - } - QWidget::mousePressEvent(event); - } -}; |
