summaryrefslogtreecommitdiff
path: root/src/citron/util/clickable_label.cpp
blob: a306770a02840408f2f01620d9a9d928d2813313 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project & 2025 Citron Homebrew Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "citron/util/clickable_label.h"

ClickableLabel::ClickableLabel(QWidget* parent, [[maybe_unused]] Qt::WindowFlags f)
    : QLabel(parent) {}

void ClickableLabel::mouseReleaseEvent([[maybe_unused]] QMouseEvent* event) {
    emit clicked();
}