QMacStyle - remove vertical adjustment for inactive tab

While it worked as expected with beta, with final release this thing
looks wrong again, especially in the dark mode.

Pick-to: 5.15
Pick-to: 5.12
Change-Id: I6857344de897e0f39d9d8e66431635dbe2f4d077
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
Timur Pocheptsov 2020-11-18 18:34:37 +01:00
parent 1158ff67b4
commit abee4cdd59
1 changed files with 0 additions and 2 deletions

View File

@ -3962,8 +3962,6 @@ void QMacStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPainter
rAdjusted.origin.x -= 3;
rAdjusted.size.width += 6;
if (isBigSurOrAbove) {
rAdjusted.origin.y -= 1;
rAdjusted.size.height += 1;
if (tp == QStyleOptionTab::End)
rAdjusted.origin.x -= 2;
}