Added call to close all windows on application close.
This commit is contained in:
parent
4006bb500f
commit
58b093e549
|
@ -2122,6 +2122,8 @@ void consoleWin_t::closeApp(void)
|
|||
g_config->setOption ("SDL.NetworkIP", "");
|
||||
g_config->save ();
|
||||
|
||||
QApplication::closeAllWindows();
|
||||
|
||||
// Delay Application Quit to allow event processing to complete
|
||||
QTimer::singleShot( 250, qApp, SLOT(quit(void)) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue