Commit 64be0e4
committed
Support fully-fractional HiDPI added in Qt 5.14.
In order to support fractional HiDPI without rounding, Qt 5.14 added a
new policy [1], which allows devicePixelRatioF to actually return
fractions, instead of rounded integers.
[1] https://doc.qt.io/qt-5/qguiapplication.html#setHighDpiScaleFactorRoundingPolicy1 parent 82e2f94 commit 64be0e4
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
| |||
0 commit comments