From a4dd0e1831adec6c0357687f0a2b49ca89813c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 27 Nov 2020 11:56:10 +0100 Subject: Update setHighDpiScaleFactorRoundingPolicy docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default is now passthrough. And let's not mention the environment variable overrides, as they are meant for internal testing. Change-Id: Ie2409e5411d4bdcdf041834cb5ca9e1215aa173a Reviewed-by: Morten Johan Sørvig (cherry picked from commit 58afadc624cf284cfe93d6a5c85557ed6e4f9765) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qnamespace.qdoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/corelib/global') diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index fae3afddc1..4aded8643e 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -3238,8 +3238,7 @@ decide how non-integer scale factors (such as Windows 150%) are handled. The active policy is set by calling QGuiApplication::setHighDdpiScaleFactorRoundingPolicy() before - the application object is created, or by setting the QT_SCALE_FACTOR_ROUNDING_POLICY - environment variable. + the application object is created. \sa QGuiApplication::setHighDpiScaleFactorRoundingPolicy() -- cgit v1.2.3