aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/util/clickable_label.cpp
blob: 89d14190ac22ef78433f46e083619e87491cc2c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#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();
}