diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-03-12 14:21:36 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-03-15 11:49:52 +0100 |
commit | 657284acbc1869f5f93b2cc6e9b7530e2e145435 (patch) | |
tree | 3adcff2ce6f425c7c104784c4e963e95fe372033 /tests/auto/gui/kernel | |
parent | 4d1f13f3549a73f5ca4e64dac9137e83138080fa (diff) |
Don’t store screen scale factors in GLOBAL_STATIC
Use a normal static variable, like the other high-dpi
variables.
Clear the stored factors in initHighDpiScaling(). This
makes auto-testing possible where the application object
is recreated for each test case and should start with
a clean slate.
Change-Id: I1831c856b5d7a2c522e62c7ed0657da771c3144f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel')
0 files changed, 0 insertions, 0 deletions