summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-12-02 16:00:45 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-12-02 20:27:31 +0000
commit14e138652d04f43d6da8fb2fee3ed9ba8b8fdfce (patch)
treec8ad3e6fc35d5e6f48f68aaa06c66e374abab361 /src/corelib/io
parentbf0af8b5a24de7e595929a64948a3548936aaaee (diff)
eglfs: Fix the logical dpi calculation for some devices
KMS and backends using the default logicalDpi() implementation (EGLDevice for instance) did not correctly check if the physical width and height are greater than zero. The result is a NaN dpi on systems where the drivers report a zero size. This in turn breaks font rendering and various other things. isValid() is changed to !isEmpty(). This way we check for width and height > 0 instead of >= 0. Change-Id: I8cdcf93a116379ae33c65599ad792a3b712518a3 Reviewed-by: Louai Al-Khanji <louai.al-khanji@theqtcompany.com>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions