diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-06-25 13:14:13 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-08-06 13:02:44 +0200 |
commit | f9883865606b7b31396f673fd07a163d911c61f5 (patch) | |
tree | c657feec13012865628dc6f31149c000f6cf411d /src/gui/kernel/qguiapplication.cpp | |
parent | 7d7b484429f2a8a23b0d15e5fbfca18f6553b1bf (diff) |
Track current window DPI
The WM_DPICHANGED event gives us the new DPI, but we
also need the current DPI in order to determine the
scale factor corresponding to the DPI change.
Pick-to: 6.2
Change-Id: Ia61388415f57aa739397d3125b8751952e8fd392
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
0 files changed, 0 insertions, 0 deletions