diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-05-25 15:11:34 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-10-20 07:26:31 +0200 |
commit | e8fabb29462e6ee268bde5267e3d7bca23addbb2 (patch) | |
tree | a65673149497e1a66454296109ac6b9aed151b4c /src/gui/kernel/qhighdpiscaling_p.h | |
parent | 95bce5b185ddc736405a952b9132e5c8f51275aa (diff) |
high-dpi: Set screen on QWindow::setGeometry()
Keep (requested) geometry and screen in sync, which
is required for correct high-dpi scaling. The platform
plugin can still override with new geometry (and screen),
as usual.
This has previously been fixed/worked around for QDialog,
see QTBUG-52735. That fix can now be removed in favor
of this change in QWindow.
Change-Id: Ieadb1bfee5fb966c5c2052e9daa5ba124a87f3cd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/kernel/qhighdpiscaling_p.h')
0 files changed, 0 insertions, 0 deletions