diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-09-07 17:40:20 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-09-08 12:49:30 +0200 |
commit | 3f23080809ff1c306b89a1627c1f03067d5a45be (patch) | |
tree | 03d37aeac96ed929c1f7201d589ef738b48c4435 /src/gui/kernel | |
parent | 5699a1f909d3dba2a74b462d3538f188028db28a (diff) |
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>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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()); |