2022-07-25 17:18:30 +02:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2021-12-25 20:27:52 +01:00
|
|
|
|
|
|
|
#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();
|
|
|
|
}
|