summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformcursor.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-02-27 08:46:47 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2019-08-23 03:41:03 +0200
commit35da4eeba263db411d929fd278a4617dd7cf5c22 (patch)
tree9bedacd57a0b9b8870347d85309909ae6f88aeb4 /src/gui/kernel/qplatformcursor.h
parent70a893e9bee7c1b8994a1218038a302e406d0aa3 (diff)
Update QT_SCREEN_SCALE_FACTORS
Store name->factor associations in a global QHash instead of on the QScreen object, making them survive QScreen object deletion, for example on disconnect/ connect cycles. Make factors set with QT_SCREEN_SCALE_FACTORS override the screen factors computed from platform plugin DPI values. This matches the use case for QT_SCREEN_SCALE_FACTORS (but not the general scale factors combine by multiplication”principle) Done-with: Friedemann Kleint <Friedemann.Kleint@qt.io> Task-number: QTBUG-53022 Change-Id: I12771249314ab0c073e609d62f57ac0d18d3b6ce Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformcursor.h')
0 files changed, 0 insertions, 0 deletions