Remove None and Bottom from the SideTabBarArea enum

This commit is contained in:
Syarif Fakhri 2022-09-08 14:13:45 +08:00
parent 37edf47c4b
commit 9bfd77a206
2 changed files with 3 additions and 7 deletions

View File

@ -1134,10 +1134,8 @@ bool DockContainerWidgetPrivate::restoreDockOrOverlayDockArea(CDockingStateReade
{
return false;
}
if (sideTabBarArea != CDockWidgetSideTab::None)
{
return restoreOverlayDockArea(Stream, sideTabBarArea, Testing);
}
return restoreOverlayDockArea(Stream, sideTabBarArea, Testing);
}
// If there's no SideTabBarArea value in the XML, or the value of SideTabBarArea is none, restore the dock area

View File

@ -75,10 +75,8 @@ public:
*/
enum SideTabBarArea
{
None,
Left,
Right,
Bottom
Right
};
Q_ENUM(SideTabBarArea)