summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-09 16:43:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-09 16:45:04 -0800
commita7d1dbd013a049593941995883c29853743c2d42 (patch)
tree17d2d8dd91b5edef09d3c70e95f8016135ea3bb8 /packaging
parent407b6ce43f413d0d4e8aed8379a66bd7a8cd3687 (diff)
downloadsubsurface-a7d1dbd013a049593941995883c29853743c2d42.tar.gz
mobile UI: fix font size breakage on Android
The pointSize() of a font can return -1 if the font was originally specificied with a pixelSize. Work around this by using QFontInfo to calculate the correct value. Additionally, don't use the pointSize() of a font when we can instead use the calculated size. This fixes the problem with the missing star ratings on Android. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions