mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Improved code documentation
This commit is contained in:
parent
a3ff1ae8ee
commit
fd76e9e62b
@ -452,7 +452,6 @@ bool DockContainerWidgetPrivate::restoreDockArea(QDataStream& stream,
|
|||||||
}
|
}
|
||||||
CreatedWidget = DockArea;
|
CreatedWidget = DockArea;
|
||||||
DockAreas.append(DockArea);
|
DockAreas.append(DockArea);
|
||||||
//DockArea->setCurrentIndex(CurrentIndex);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -361,6 +361,9 @@ bool CDockManager::restoreState(const QByteArray &state, int version)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Now all dock areas are properly restored and we setup the index of
|
||||||
|
// The dock areas because the previous toggleView() action has changed
|
||||||
|
// the dock area index
|
||||||
for (auto DockContainer : d->Containers)
|
for (auto DockContainer : d->Containers)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < DockContainer->dockAreaCount(); ++i)
|
for (int i = 0; i < DockContainer->dockAreaCount(); ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user