Skip to content

Commit fd76e9e

Browse files
author
Uwe Kindler
committed
Improved code documentation
1 parent a3ff1ae commit fd76e9e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/DockContainerWidget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ bool DockContainerWidgetPrivate::restoreDockArea(QDataStream& stream,
452452
}
453453
CreatedWidget = DockArea;
454454
DockAreas.append(DockArea);
455-
//DockArea->setCurrentIndex(CurrentIndex);
456455
return true;
457456
}
458457

src/DockManager.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ bool CDockManager::restoreState(const QByteArray &state, int version)
361361
}
362362
}
363363

364+
// Now all dock areas are properly restored and we setup the index of
365+
// The dock areas because the previous toggleView() action has changed
366+
// the dock area index
364367
for (auto DockContainer : d->Containers)
365368
{
366369
for (int i = 0; i < DockContainer->dockAreaCount(); ++i)

0 commit comments

Comments
 (0)