summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/bootmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/citra_qt/bootmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index 610707411..7a1360d34 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -219,6 +219,11 @@ QByteArray GRenderWindow::saveGeometry()
return geometry;
}
+void GRenderWindow::closeEvent(QCloseEvent* event) {
+ emit Closed();
+ QWidget::closeEvent(event);
+}
+
void GRenderWindow::keyPressEvent(QKeyEvent* event)
{
this->KeyPressed({event->key(), keyboard_id});