Qt: Use openView for GDBWindow

This commit is contained in:
Jeffrey Pfau 2015-08-08 21:38:47 -07:00
parent 0fb8f51df4
commit 12ef93d784
1 changed files with 1 additions and 3 deletions

View File

@ -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