From 0e5329fd3e37d4087a06ee37499b685f3dfa402d Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Tue, 13 Sep 2022 17:27:13 +0800 Subject: [PATCH] add comment --- src/DockWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DockWidget.cpp b/src/DockWidget.cpp index a828dc8..c990209 100644 --- a/src/DockWidget.cpp +++ b/src/DockWidget.cpp @@ -195,6 +195,7 @@ void DockWidgetPrivate::showDockWidget() } // If this widget is pinned and there are no opened dock widgets, unpin the overlay widget by moving it's contents to parent container + // While restoring state, opened dock widgets are not valid if (Container->openedDockWidgets().count() == 0 && DockArea->isOverlayed() && !DockManager->isRestoringState()) { DockArea->overlayDockContainer()->moveContentsToParent();