diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index a679054cf..6de1e2355 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -444,6 +444,7 @@ void Window::selectPatch() { void Window::openView(QWidget* widget) { connect(this, SIGNAL(shutdown()), widget, SLOT(close())); + connect(m_controller, SIGNAL(gameStopped(mCoreThread*)), widget, SLOT(close())); widget->setAttribute(Qt::WA_DeleteOnClose); widget->show(); }