From 58b093e549b4f8966c44e3aa15799bf48f611c78 Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Sat, 25 Dec 2021 20:39:41 -0500 Subject: [PATCH] Added call to close all windows on application close. --- src/drivers/Qt/ConsoleWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/Qt/ConsoleWindow.cpp b/src/drivers/Qt/ConsoleWindow.cpp index 55837a81..25ce851c 100644 --- a/src/drivers/Qt/ConsoleWindow.cpp +++ b/src/drivers/Qt/ConsoleWindow.cpp @@ -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)) ); }