diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-02-20 11:25:49 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-02-21 10:38:58 +0100 |
commit | 4e1c41a26eaa51ebb133e9c846e8e93bbe318a2e (patch) | |
tree | a858ed1a74c636360bcbc7b12cb67e47e3a9d170 /tests/auto/gui/image/qpixmap/tst_qpixmap.cpp | |
parent | fb6acf08bbd7a68d027282251747620b942bd1d6 (diff) |
QStyle: Use primary screen DPI as default DPI
Change d603ee68 made the default DPI be 96, for cases
where a style option is not provided.
This causes inconsistencies, since there are in fact
several cases where QStyle API is called without a
style option.
Restore historical Qt behavior of using the primary
screen DPI. Single-screen systems should now be consistent,
as before.
Task-number: QTBUG-82356
Change-Id: I849934ca2e5604b9fb2f045ed4f6058f3e0426ff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/gui/image/qpixmap/tst_qpixmap.cpp')
0 files changed, 0 insertions, 0 deletions