diff options
| author | FearlessTobi <thm.frey@gmail.com> | 2021-12-25 20:27:52 +0100 |
|---|---|---|
| committer | FearlessTobi <thm.frey@gmail.com> | 2022-07-25 21:59:28 +0200 |
| commit | 60008b680e4e6151f7d05a6f8ac4d47045bcfe5e (patch) | |
| tree | e110c6482a11d711d18515afce4fc50adcee76e7 /src/yuzu/util/clickable_label.cpp | |
| parent | 00526e94d1cd123d8bc28e560f0f211d9cef09c0 (diff) | |
yuzu: Add ui files for multiplayer rooms
Diffstat (limited to 'src/yuzu/util/clickable_label.cpp')
| -rw-r--r-- | src/yuzu/util/clickable_label.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/yuzu/util/clickable_label.cpp b/src/yuzu/util/clickable_label.cpp new file mode 100644 index 0000000000..5bde838ca4 --- /dev/null +++ b/src/yuzu/util/clickable_label.cpp @@ -0,0 +1,12 @@ +// Copyright 2017 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "yuzu/util/clickable_label.h" + +ClickableLabel::ClickableLabel(QWidget* parent, [[maybe_unused]] Qt::WindowFlags f) + : QLabel(parent) {} + +void ClickableLabel::mouseReleaseEvent([[maybe_unused]] QMouseEvent* event) { + emit clicked(); +} |
