diff options
Diffstat (limited to 'src/qtdiag/qtdiag.cpp')
-rw-r--r-- | src/qtdiag/qtdiag.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp index 415552010..ca600d0b9 100644 --- a/src/qtdiag/qtdiag.cpp +++ b/src/qtdiag/qtdiag.cpp @@ -790,8 +790,7 @@ QString qtDiag(unsigned flags) str << ' ' << platformScreen->subpixelAntialiasingTypeHint() << "\n "; if (QHighDpiScaling::isActive()) str << "High DPI scaling factor: " << QHighDpiScaling::factor(screen) << ' '; - str << "DevicePixelRatio: " << screen->devicePixelRatio() - << " Pixel density: " << platformScreen->pixelDensity(); + str << "DevicePixelRatio: " << screen->devicePixelRatio(); str << "\n Primary orientation: " << screen->primaryOrientation() << " Orientation: " << screen->orientation() << " Native orientation: " << screen->nativeOrientation() |