diff options
| author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2019-12-19 13:51:56 +0100 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2019-12-19 13:20:54 +0000 |
| commit | 0f0d26418c185fe9e4c01049d165ac5548305354 (patch) | |
| tree | 063a6406ec44dc77369e7c7b9212a26a9dd9c26a /src/sql/doc/snippets/sqldatabase | |
| parent | b31aef2900478ef463c65dff5a3ea92b8fc047d7 (diff) | |
High-DPI: restore rounding behavior on Android
Qt 5.14 introduced QApplication::scaleFactorRoundingPolicy,
where the default policy rounds the scale factor to
an integer, which matches Qt's behavior on Windows and X11.
However, Qt has never rounded scale factors on Android.
Restore the historical behavior and document the platform
difference.
Change-Id: I0f8e8fb65e3874338ea290bbb12da350da22f099
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
