From 14acd0fe4a517cd934c1dcaeb6ff94928ecbe4b7 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Tue, 25 Oct 2022 10:01:51 +0200 Subject: [PATCH] Fixed updateResizeHandleSizeLimitMax() function to work properly with all dock containers --- src/AutoHideDockContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoHideDockContainer.cpp b/src/AutoHideDockContainer.cpp index 05135bf..7fc5d93 100644 --- a/src/AutoHideDockContainer.cpp +++ b/src/AutoHideDockContainer.cpp @@ -168,7 +168,7 @@ struct AutoHideDockContainerPrivate void updateResizeHandleSizeLimitMax() { - auto Rect = DockManager->contentRect(); + auto Rect = _this->parentContainer()->contentRect(); ResizeHandle->setMaxResizeSize(ResizeHandle->orientation() == Qt::Horizontal ? Rect.width() : Rect.height()); }