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:
parent
60d915a99f
commit
db026279e7
@ -187,14 +187,7 @@ AutoHideDockContainerPrivate::AutoHideDockContainerPrivate(
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
CDockContainerWidget* CAutoHideDockContainer::dockContainer() const
|
CDockContainerWidget* CAutoHideDockContainer::dockContainer() const
|
||||||
{
|
{
|
||||||
if (d->DockArea)
|
return internal::findParent<CDockContainerWidget*>(this);
|
||||||
{
|
|
||||||
return d->DockArea->dockContainer();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return internal::findParent<CDockContainerWidget*>(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user