mirror of https://github.com/mgba-emu/mgba.git
Qt: Use openView for GDBWindow
This commit is contained in:
parent
0fb8f51df4
commit
12ef93d784
|
@ -393,9 +393,7 @@ void Window::gdbOpen() {
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue