Debugger: Fix exit crash, dump QVariantList with gdb

Handle QVariantList within dumpers, as gdb does not resolve
typedefs. Disconnect the gdb process on exit, one more round
of event loop when quitting.
This commit is contained in:
Friedemann Kleint
2009-10-27 09:51:14 +01:00
parent f244008a0f
commit 3fd1e5b23f
4 changed files with 33 additions and 3 deletions

View File

@@ -225,7 +225,7 @@ QMainWindow *GdbEngine::mainWindow() const
GdbEngine::~GdbEngine()
{
// prevent sending error messages afterwards
disconnect(&m_gdbProc);
disconnect(&m_gdbProc, 0, this, 0);
delete m_gdbAdapter;
m_gdbAdapter = 0;
}