citra-shitamoto-network/src/citra_qt/util/clickable_label.cpp

12 lines
345 B
C++
Raw Normal View History

2018-01-19 19:12:21 +05:30
// 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"
ClickableLabel::ClickableLabel(QWidget* parent, Qt::WindowFlags f) : QLabel(parent) {}
void ClickableLabel::mouseReleaseEvent(QMouseEvent* event) {
emit clicked();
}