diff options
| author | Olivier Goffart <ogoffart@woboq.com> | 2017-03-15 10:56:17 +0100 |
|---|---|---|
| committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2017-03-17 23:14:09 +0000 |
| commit | 7eeb88a5cdcb9684e5cc123731d78e299135cd69 (patch) | |
| tree | 90d30feb441e00b540945f2774167d6520235eba /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp | |
| parent | 93a4bf5c8b38d02dd7489e5c0ffecf6fd3b97d34 (diff) | |
When changing screen, only update the font if dpi has changed
Generally, this might avoid unnecessary work in a quite common case.
But if high dpi scaling is set, the dpi (in logical pixels) does
not change. However this event is sent before
QGuiApplicationPrivate::processWindowScreenChangedEvent has had
time to change the geometry, and might cause a problem in QMenu
Amends f3a4b4258f2d207b5a8e73d62822a3afe1bf8a72.
Task-number: QTBUG-59484
Change-Id: Ie4ceedcb0754613cf239ae86b225c4139b70d0cc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
