forked from qt-creator/qt-creator
Debugger: Handle 'raise' operations in dock destruction properly
Change-Id: I19e8eb2ae1d247964ee2a46a35e1990c01e4d6c2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -525,6 +525,8 @@ void DebuggerMainWindowPrivate::populateCurrentPerspective()
|
||||
// Create dock widgets wrapping ther perspective's widgets.
|
||||
QHash<QString, QDockWidget *> 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());
|
||||
|
Reference in New Issue
Block a user