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:
parent
5699a1f909
commit
3f23080809
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user