diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-10-05 11:48:10 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-06 07:21:22 +0000 |
commit | 59498964c9f8fbbc5cae36df1c552db61017fdf5 (patch) | |
tree | 5b026662490a6eddc8bad44b3f2813d02644b5f9 /.lgtm.yml | |
parent | b3637a7bfb07bc441afdac1391796fcbe537ae7f (diff) |
EGLFS: Don’t compute logical DPI from physical size
Remove code which computes logical DPI from the screen’s
physical size.
Return a DPI of 100 instead (this value was previously
returned if the physical size was not available), and
add a matching logicalBaseDpi() implementation which
gives a device pixel ratio of 1.
Task-number: QTBUG-87035
Change-Id: Ib20afbbd24fd6b57c8ffb2fd697f1becba283cba
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to '.lgtm.yml')
0 files changed, 0 insertions, 0 deletions