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.8 6.5 Change-Id: I21b950f6790cfa49c822dcd4de2eaadfa2ffdce9 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit ca41ace3578e6e49e5e85dc951a336e8d1832b1a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%