From 42444a18b018064f3c15a2b2bd7aaaec45c292d5 Mon Sep 17 00:00:00 2001 From: Axel Spoerl Date: Wed, 20 Apr 2022 17:04:00 +0200 Subject: [PATCH] Clarify comment for QDockAreaLayout::sep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QDockAreaLayout::sep represents the visual margin between a dock widget and its frame, i.e. a dock within the main window. The comment 'separator extent' has been replaced by a clearer version. Change-Id: Icfb3d549a5bcb00c5f1cf4558c5a1c4f995e31f0 Reviewed-by: Jan Arve Sæther --- src/widgets/widgets/qdockarealayout_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/widgets/qdockarealayout_p.h b/src/widgets/widgets/qdockarealayout_p.h index 829a24dce3..f746a3724b 100644 --- a/src/widgets/widgets/qdockarealayout_p.h +++ b/src/widgets/widgets/qdockarealayout_p.h @@ -235,7 +235,7 @@ public: QRect centralWidgetRect; QDockAreaLayout(QMainWindow *win); QDockAreaLayoutInfo docks[4]; - int sep; // separator extent + int sep; // margin between a dock widget and its frame bool fallbackToSizeHints; //determines if we should use the sizehint for the dock areas (true until the layout is restored or the separator is moved by user) mutable QList separatorWidgets;