summaryrefslogtreecommitdiff
path: root/src/qtdiag
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2020-10-08 12:05:46 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2020-10-11 14:11:03 +0200
commitea5e45805301365a5c26fc0390f01a7ffe3bcef0 (patch)
treeb370491563ab185a6278978d9ead9ce0a104b609 /src/qtdiag
parent9d1dd394191001cf2bc456cf73e702eeb7bac400 (diff)
downloadqttools-ea5e45805301365a5c26fc0390f01a7ffe3bcef0.tar.gz
Fix compile after qtbase update
Fixes: QTBUG-87312 Change-Id: I970fd6ec986703cbe90199476fe13b555c87817b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/qtdiag')
-rw-r--r--src/qtdiag/qtdiag.cpp3
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()