Qt: Shutdown game on emulator close event.

merge-requests/60/head
bunnei 2015-05-01 16:53:16 +07:00
parent 85cc81d8cc
commit 046dd6e3ef
1 changed files with 2 additions and 0 deletions

@ -338,6 +338,8 @@ void GMainWindow::closeEvent(QCloseEvent* event)
settings.setValue("firstStart", false);
SaveHotkeys(settings);
ShutdownGame();
render_window->close();
QWidget::closeEvent(event);