diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-03-23 21:22:18 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-02-27 06:51:53 +0100 |
commit | 5a03dfa249a270fed2c73b6d6a64a79e80eda583 (patch) | |
tree | 4d6570e6b61c5d5f5522f91e5f96cae55f2077d4 /src/widgets/styles/qstylepainter.cpp | |
parent | e5e969c00c35f43f00309fc03b96e296c935f176 (diff) |
QTextOption: fix handling Qt::AlignBaseline
QTextOption stores the Qt::Alignment flag in a eight bit bitfield. When
Qt::AlignBaseline was added the bitfield was not extended so the newly
used ninth bit is not stored in QTextOption.
Fix it by using one of the unused bits. Simply extending the bitfield is
not binary compatible so this has to wait for Qt6.
Fixes: QTBUG-74652
Change-Id: I2539f5619ffe729459102fa5406fb6c0dd463ea1
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/styles/qstylepainter.cpp')
0 files changed, 0 insertions, 0 deletions