mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Qt: Prevent crash when closed by the window manager
This commit is contained in:
parent
94995503aa
commit
6474616c83
2 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,11 @@ DMainWindow::~DMainWindow()
|
|||
{
|
||||
}
|
||||
|
||||
void DMainWindow::closeEvent(QCloseEvent* ce)
|
||||
{
|
||||
Stop();
|
||||
}
|
||||
|
||||
// Emulation
|
||||
|
||||
void DMainWindow::StartGame(const QString filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue