summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2021-12-23 14:02:08 +0800
committerYuhang Zhao <2546789017@qq.com>2022-01-07 12:25:04 +0800
commit00d197662d29f4d84a5087e560f152266a759863 (patch)
tree6c638939ce882ccec8f9d069060f679517076d56 /src/gui
parent44cd0c6c5fd1c025f4aae1247223277c48d031ae (diff)
QHighDpiScaling: fix typo in doc
Pick-to: 6.3 6.2 Change-Id: I7f874e85484a6ab4be0280e736b57141bdebc656 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qhighdpiscaling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qhighdpiscaling.cpp b/src/gui/kernel/qhighdpiscaling.cpp
index 996eed40cb..e8b704ff79 100644
--- a/src/gui/kernel/qhighdpiscaling.cpp
+++ b/src/gui/kernel/qhighdpiscaling.cpp
@@ -183,7 +183,7 @@ static std::optional<qreal> qEnvironmentVariableOptionalReal(const char *name)
is always enabled. The Qt scale factor value is typically determined by the
QPlatformScreen implementation - see below.
- There is one environment variable based opt-out option: set QT_ENABLE_HIGH_DPI_SCALING=0.
+ There is one environment variable based opt-out option: set QT_ENABLE_HIGHDPI_SCALING=0.
Keep in mind that this does not affect the OS scale factor, which is controlled by
the operating system.