diff options
Diffstat (limited to 'src/yuzu/util/clickable_label.cpp')
| -rw-r--r-- | src/yuzu/util/clickable_label.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/yuzu/util/clickable_label.cpp b/src/yuzu/util/clickable_label.cpp new file mode 100644 index 000000000..89d14190a --- /dev/null +++ b/src/yuzu/util/clickable_label.cpp | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | // SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "yuzu/util/clickable_label.h" | ||
| 5 | |||
| 6 | ClickableLabel::ClickableLabel(QWidget* parent, [[maybe_unused]] Qt::WindowFlags f) | ||
| 7 | : QLabel(parent) {} | ||
| 8 | |||
| 9 | void ClickableLabel::mouseReleaseEvent([[maybe_unused]] QMouseEvent* event) { | ||
| 10 | emit clicked(); | ||
| 11 | } | ||