From 3b5d74c6c4a4582dbb61fb9699c7d039bc794ce7 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 24 Aug 2018 11:09:49 +0200 Subject: [PATCH] Debugger: Handle 'raise' operations in dock destruction properly Change-Id: I19e8eb2ae1d247964ee2a46a35e1990c01e4d6c2 Reviewed-by: Christian Stenger --- src/plugins/debugger/debuggermainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp index e34656aac0a..6952568d7fb 100644 --- a/src/plugins/debugger/debuggermainwindow.cpp +++ b/src/plugins/debugger/debuggermainwindow.cpp @@ -525,6 +525,8 @@ void DebuggerMainWindowPrivate::populateCurrentPerspective() // Create dock widgets wrapping ther perspective's widgets. QHash dockForDockId; for (const DockOperation &op : m_currentPerspective->d->m_dockOperations) { + if (op.operationType == Perspective::Raise) + continue; QTC_ASSERT(op.widget, continue); const QString dockId = op.widget->objectName(); QTC_CHECK(!dockId.isEmpty());