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 9aec16506..2aab343f2 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -223,6 +223,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});