1
0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
citra-canary/src/citra_qt/util/clickable_label.cpp

13 lines
383 B
C++
Raw Normal View History

2018-01-19 13:42:21 +00:00
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "citra_qt/util/clickable_label.h"
2020-08-15 13:55:54 +00:00
ClickableLabel::ClickableLabel(QWidget* parent, [[maybe_unused]] Qt::WindowFlags f)
: QLabel(parent) {}
2018-01-19 13:42:21 +00:00
2020-08-15 13:55:54 +00:00
void ClickableLabel::mouseReleaseEvent([[maybe_unused]] QMouseEvent* event) {
2018-01-19 13:42:21 +00:00
emit clicked();
}