aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2024-04-03 19:16:37 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2024-04-04 13:03:39 +0000
commit41eeb5a273d64aedfb110fee1dd445dd66e927bd (patch)
tree923211e051dd997d78b12f9fbfbd738e685c93ff /src/plugins/texteditor
parent24767dfb0de8b46f79fc69d3d2d3ee95c159206a (diff)
Core: Fix QGroupBox frame drawing for Qt >= 6.6.3, dark themes
Since QStyle::subControlRect() used to return bogus rectangles for SC_GroupBoxFrame, and therefore, as workaround, ManhattanStyle calculated the position of the QGroupBox frame itself via code copied from QFusionStyle. 6.6.3 fixes the SC_GroupBoxFrame issue, but in turn, the old workaround fails. Therefore, this change uses old calculation when running with older Qt and the newer one with Qt >= 6.6.3. Fixes: QTCREATORBUG-30632 Change-Id: Ie9c6c078ba9bd0e7012192e9d887a702e307d294 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'src/plugins/texteditor')
0 files changed, 0 insertions, 0 deletions