summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorSamuel Mira <samuel.mira@qt.io>2023-01-12 13:32:51 +0200
committerRami Potinkara <rami.potinkara@qt.io>2023-02-02 08:24:55 +0000
commit48ebd4e318d5fb2d7ffe4b8215cd16cf5638215e (patch)
tree45b78f077270397c06aa69cbd57fcd0c0ff6c6e6 /src/printsupport
parent46af1fe49f7f419dc1b3231de9860e2da0ea48f8 (diff)
Android: fix height calculation
The application height calculation relied on the Display.getMetrics to obtain the size of the current app window. It works properly on stock android and Samsung devices, but not on some Huawei and it's unknown on other vendors. This patch changes the way the height and weight are calculated by using the provided values. Task-number: QTBUG-107604 Task-number: QTBUG-109268 Task-number: QTBUG-97503 Task-number: QTBUG-107923 Task-number: QTBUG-109351 Task-number: QTBUG-110501 Pick-to: 6.5 6.4 6.2 5.15 Change-Id: I0b0d1a0e4688f10530054afd26e34f55a92ea2da Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/printsupport')
0 files changed, 0 insertions, 0 deletions