summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qlayout.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2025-05-13 09:56:38 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2025-05-15 19:38:47 +0200
commitca41ace3578e6e49e5e85dc951a336e8d1832b1a (patch)
tree1377b404427b3342ec9b163a3b8a8de88948ba31 /src/widgets/kernel/qlayout.cpp
parentb2985828a37acb9420ed396ffb7b1a850f943683 (diff)
Improve code readability of QDockAreaLayout::separatorMove()
Constify variables where possible. Store conditions in const booleans with meaningful names. Rename local variable "index" to "dockPosition" and type it accordingly. Add code comments to explain code paths for internal and external separators. Task-number: QTBUG-136716 Pick-to: 6.9 6.8 6.5 Change-Id: I21b950f6790cfa49c822dcd4de2eaadfa2ffdce9 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/kernel/qlayout.cpp')
0 files changed, 0 insertions, 0 deletions