debugger: move dockwidget ownership to the mainwindow

This commit is contained in:
hjk
2010-12-03 15:03:51 +01:00
parent e7f37e64ef
commit f8e70add25
7 changed files with 67 additions and 96 deletions

View File

@@ -3080,7 +3080,7 @@ void GdbEngine::handleMakeSnapshot(const GdbResponse &response)
void GdbEngine::reloadRegisters()
{
if (!debuggerCore()->isRegisterViewVisible())
if (!debuggerCore()->isDockVisible(_(Constants::DOCKWIDGET_REGISTER)))
return;
if (state() != InferiorStopOk && state() != InferiorUnrunnable)