diff options
| author | Oliver Wolff <oliver.wolff@qt.io> | 2022-10-31 10:01:14 +0100 |
|---|---|---|
| committer | Yuhang Zhao <2546789017@qq.com> | 2022-12-23 20:34:19 +0800 |
| commit | c3f8198d07c04cd8962637f134a9c78fbb5760c2 (patch) | |
| tree | 987f3a7c64ef4f382ce8f331a27acd55e8889c68 /src/sql/kernel/qsqldatabase.cpp | |
| parent | 585614ec220057077a9f036871f2f0e229859620 (diff) | |
QWindowsContext::setProcessDpi[V2]Awareness check current value before setting it
Our previous assumption was that the right value was used if we ran into
an "access denied" error. That error only states that the function has
been called before though. The warning should be omitted if the right
value has been set before.
Pick-to: 6.5
Change-Id: I1379242f68e2f09bc6a25dd322fe3634622d8e8e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
