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 <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2022-09-07 17:40:20 +02:00
parent 5699a1f909
commit 3f23080809

View File

@ -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());