1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-01 02:42:39 +08:00

Fix crash caused by dockContainerWidget not removing auto hide dock

container widget properly.
This commit is contained in:
Syarif Fakhri 2022-12-08 10:09:16 +08:00
parent 60d915a99f
commit db026279e7

View File

@ -187,14 +187,7 @@ AutoHideDockContainerPrivate::AutoHideDockContainerPrivate(
//============================================================================
CDockContainerWidget* CAutoHideDockContainer::dockContainer() const
{
if (d->DockArea)
{
return d->DockArea->dockContainer();
}
else
{
return internal::findParent<CDockContainerWidget*>(this);
}
return internal::findParent<CDockContainerWidget*>(this);
}