From 00d197662d29f4d84a5087e560f152266a759863 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Thu, 23 Dec 2021 14:02:08 +0800 Subject: [PATCH] QHighDpiScaling: fix typo in doc Pick-to: 6.3 6.2 Change-Id: I7f874e85484a6ab4be0280e736b57141bdebc656 Reviewed-by: Marc Mutz --- src/gui/kernel/qhighdpiscaling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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.