Added call to close all windows on application close.

This commit is contained in:
mjbudd77 2021-12-25 20:39:41 -05:00
parent 4006bb500f
commit 58b093e549
1 changed files with 2 additions and 0 deletions

View File

@ -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)) );
}