diff options
author | David Edmundson <davidedmundson@kde.org> | 2022-11-30 11:31:10 +0000 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2022-12-08 14:35:18 +0000 |
commit | 687a206b2e3404b30ba24130294a92ea55a83dde (patch) | |
tree | b8d1e0d5f0defbdcd95f50badf40d38254395769 /qmake | |
parent | cbd5bc0b587de74d900494817509717ef2f0c472 (diff) |
QWidget: use window device pixel ratio for metrics
Most code uses the window/backing store DPR, except for this path that
uses the screen.
On wayland it's possible to get a different ratio for the screen and
window which causes some subtle rendering issues. For other platforms
behavior shouldn't change.
Change-Id: Ie390ba3bdfc183815df9e7e79e508d3e15d61f25
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions