From 3f23080809ff1c306b89a1627c1f03067d5a45be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 7 Sep 2022 17:40:20 +0200 Subject: [PATCH] Don't emit logicalDotsPerInchChanged when updating screen geometry The screen geometry can not affect the logical DPI of the screen, Change-Id: Id71b72ed2f26d0371ea7c2d2951426d2616dafd1 Reviewed-by: Volker Hilsheimer --- src/gui/kernel/qguiapplication.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index cb20eb3f04..3dcb22c840 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -3087,7 +3087,6 @@ void QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfaceP if (geometryChanged) { emit s->physicalSizeChanged(s->physicalSize()); - emit s->logicalDotsPerInchChanged(s->logicalDotsPerInch()); if (s->primaryOrientation() != primaryOrientation) emit s->primaryOrientationChanged(s->primaryOrientation());