diff --git a/src/AutoHideDockContainer.cpp b/src/AutoHideDockContainer.cpp index d86e7cf..1e95908 100644 --- a/src/AutoHideDockContainer.cpp +++ b/src/AutoHideDockContainer.cpp @@ -187,14 +187,7 @@ AutoHideDockContainerPrivate::AutoHideDockContainerPrivate( //============================================================================ CDockContainerWidget* CAutoHideDockContainer::dockContainer() const { - if (d->DockArea) - { - return d->DockArea->dockContainer(); - } - else - { - return internal::findParent(this); - } + return internal::findParent(this); }