diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2020-10-08 12:05:46 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2020-10-11 14:11:03 +0200 |
commit | ea5e45805301365a5c26fc0390f01a7ffe3bcef0 (patch) | |
tree | b370491563ab185a6278978d9ead9ce0a104b609 | |
parent | 9d1dd394191001cf2bc456cf73e702eeb7bac400 (diff) | |
download | qttools-ea5e45805301365a5c26fc0390f01a7ffe3bcef0.tar.gz |
Fix compile after qtbase update
Fixes: QTBUG-87312
Change-Id: I970fd6ec986703cbe90199476fe13b555c87817b
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-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() |