diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-25 14:10:58 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-09-30 15:16:58 +0200 |
commit | 5c7307775d32ae0a54acad8ae7a1c9d3cff7d45e (patch) | |
tree | 39bd80f094c63b32a1370ac7c6e95a0ff5f79518 /tests/auto | |
parent | 5add30c8cabea326f67564e41060a5c0fec6acd7 (diff) |
Emit QScreen::geometryChanged when the logical DPI changes
Add the missing call to QScreenPrivate::emitGeometryChangeSignals()
along with an emission of physicalDotsPerInchChanged()
since that is calculated from geometry and physical size.
Rearrange the code in
QGuiApplicationPrivate::processScreenGeometryChange()
to prevent duplicate emissions of geometryChanged(),
physicalDotsPerInchChanged() which this change would introduce.
Amends 5290027e3bab75f14fc0a2b7c206594d9cb91e76.
Pick-to: 5.15
Task-number: QTBUG-76902
Task-number: QTBUG-79248
Fixes: QTBUG-86604
Change-Id: I3dc2ec5ccd9c6413e92f9246242f323e8afc5e57
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions