Qt: Fix regression with windows not closing
Vicki Pfau vi@endrift.com
Fri, 21 Apr 2017 16:38:26 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -444,6 +444,7 @@ }
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(); }