summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2021-12-23 14:02:08 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-07 04:25:19 +0000
commit486c93f6eb445dff2b87a209af59eb52e75a699f (patch)
tree9bb34c34939418947cfd45be8c0a59d221f586d4
parentad81d85d4c11e0537cb30d697a3efe0e8f3f1fd2 (diff)
QHighDpiScaling: fix typo in doc
Change-Id: I7f874e85484a6ab4be0280e736b57141bdebc656 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 00d197662d29f4d84a5087e560f152266a759863) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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.