diff options
author | Axel Spoerl <axel.spoerl@qt.io> | 2022-04-20 17:04:00 +0200 |
---|---|---|
committer | Axel Spoerl <axel.spoerl@qt.io> | 2022-04-22 15:35:02 +0200 |
commit | 42444a18b018064f3c15a2b2bd7aaaec45c292d5 (patch) | |
tree | 1303dc47768c7462d7a6e68008314c2e7a398d0a | |
parent | a5dec542fa02663766563734e6dcee32cbc7e952 (diff) |
Clarify comment for QDockAreaLayout::sep
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 <jan-arve.saether@qt.io>
-rw-r--r-- | src/widgets/widgets/qdockarealayout_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<QWidget *> separatorWidgets; |