Qt: Close GDB window when shutting down a game
Jeffrey Pfau jeffrey@endrift.com
Mon, 19 Jan 2015 02:39:43 -0800
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -276,6 +276,8 @@ if (!m_gdbController) {
m_gdbController = new GDBController(m_controller, this); } GDBWindow* window = new GDBWindow(m_gdbController); + connect(this, SIGNAL(shutdown()), window, SLOT(close())); + window->setAttribute(Qt::WA_DeleteOnClose); window->show(); } #endif