From efb87c868b998305d50aa18e8ce7241eaf9c358c Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Fri, 14 Oct 2022 16:20:32 +0800 Subject: [PATCH] update size then mask --- src/AutoHideDockContainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoHideDockContainer.cpp b/src/AutoHideDockContainer.cpp index 83a34fe..100e801 100644 --- a/src/AutoHideDockContainer.cpp +++ b/src/AutoHideDockContainer.cpp @@ -192,8 +192,8 @@ CAutoHideDockContainer::CAutoHideDockContainer(CDockManager* DockManager, CDockW } } - updateMask(); updateSize(); + updateMask(); parent->registerAutoHideWidget(this); } @@ -435,8 +435,8 @@ void CAutoHideDockContainer::collapseView(bool Enable) show(); d->DockArea->show(); d->DockWidget->show(); - updateMask(); updateSize(); + updateMask(); qApp->installEventFilter(this); } }