all repos — mgba @ 12ef93d784c377fa8cf137abaae6a19a2541381d

mGBA Game Boy Advance Emulator

Qt: Use openView for GDBWindow
Jeffrey Pfau jeffrey@endrift.com
Sat, 08 Aug 2015 21:38:47 -0700
commit

12ef93d784c377fa8cf137abaae6a19a2541381d

parent

0fb8f51df47a1701097150dd2c9103bf5044e24c

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -393,9 +393,7 @@ 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(); + openView(window); } #endif