diff options
Diffstat (limited to 'src/plugins/debugger/debuggerengine.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerengine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 3717e502fd..20d3a71f52 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -330,7 +330,7 @@ public: DebuggerToolTipManager::deregisterEngine(m_engine); m_memoryAgents.handleDebuggerFinished(); - m_perspective->destroy(); + delete m_perspective; m_perspective = nullptr; setBusyCursor(false); @@ -787,7 +787,6 @@ void DebuggerEnginePrivate::setupViews() m_perspective->addWindow(m_registerWindow, Perspective::AddToTab, m_watchersWindow, true, Qt::RightDockWidgetArea); m_perspective->addWindow(m_logWindow, Perspective::AddToTab, nullptr, false, Qt::TopDockWidgetArea); - Debugger::registerPerspective(m_perspective); m_perspective->select(); } |