diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-30 20:42:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-30 13:58:10 -0700 |
commit | da740dfc19a6501009367cdabbb44691a81aacfa (patch) | |
tree | d3ce26595941ad547ddba796cbc07bf7d241b944 /.github | |
parent | 45a3fff62c00b48e392b83cda8e5dd5fba9af8bb (diff) | |
download | subsurface-da740dfc19a6501009367cdabbb44691a81aacfa.tar.gz |
cleanup: use setPointSizeF() in themeInterface::set_currentScale()
The compiler complained that we were passing a float to the
QFont::setPointSize() function, which expects an integer.
Solve this by using the QFont::setPointSizeF() function.
This might introduce a user-visible change, albeit very unlikely:
We now may set the point-size to a non-integer number.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions