diff options
| author | Mikolaj Boc <mikolaj.boc@qt.io> | 2022-10-24 13:34:29 +0200 |
|---|---|---|
| committer | Mikolaj Boc <mikolaj.boc@qt.io> | 2022-10-25 08:08:32 +0200 |
| commit | d553ec049d3496240a2af6b04be14cf124cb1a4d (patch) | |
| tree | fd6dd17f6109903222d6b9a23715c24d939ac840 /src/gui/platform/unix/qunixnativeinterface.cpp | |
| parent | 739fb9823306adf69316dfce5c1f1a53c735677f (diff) | |
Make Qt on WASM correctly draw windows with QT_SCALE_FACTOR
The GUI scale factor was taken into account twice, once in
QBackingStore::resize and then again implicitly in
QWasmBackingStore::resize, through window()->devicePixelRatio(),
which contains it as one of its multipliers.
Fixes: QTBUG-80992
Pick-to: 6.4
Change-Id: I75ac8d85c14230207379b789834256de4254811b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions
