mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-28 13:50:22 -05:00
Qt: Prevent crash when closed by the window manager
This commit is contained in:
@@ -92,6 +92,11 @@ DMainWindow::~DMainWindow()
|
||||
{
|
||||
}
|
||||
|
||||
void DMainWindow::closeEvent(QCloseEvent* ce)
|
||||
{
|
||||
Stop();
|
||||
}
|
||||
|
||||
// Emulation
|
||||
|
||||
void DMainWindow::StartGame(const QString filename)
|
||||
|
||||
Reference in New Issue
Block a user