diff options
| author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-03-09 12:13:41 +0100 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-03-15 11:49:48 +0100 |
| commit | 4d1f13f3549a73f5ca4e64dac9137e83138080fa (patch) | |
| tree | 8243b8fc6ccb9ac4a3399fd4966b82c4129d4964 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | a5573cfbd5f9bd5ac020b05c73e9da2cd7c0c33a (diff) | |
Read high-dpi env. variables in initHighDpiScaling()
Move all environment access to initHighDpiScaling(),
which makes it so that all environment access happens
at one point in time during QGuiApplication construction.
Replace the “qt.scaling” logging category with “qt.highdpi”,
and log each recognized env. variable. Further logging
of DPI and computed scale factors will be introduced
later on.
This also enables auto-testing of the environment variable
settings, since the auto-test can now control when the
environment is read by (re-)creating the application
object.
Change-Id: I4e62a9c0050438357a58ace5b50fb7c5950c87ce
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
