From b3187cad51280fe04c49c19487d6bc5ec9c2be29 Mon Sep 17 00:00:00 2001 From: Tomas Mizera Date: Mon, 2 Oct 2023 15:12:16 +0200 Subject: [PATCH] Use logical DPI instead of physical --- app/map/inputmapcanvasmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/map/inputmapcanvasmap.cpp b/app/map/inputmapcanvasmap.cpp index e5a62b8ae..9c1a1a4e6 100644 --- a/app/map/inputmapcanvasmap.cpp +++ b/app/map/inputmapcanvasmap.cpp @@ -268,7 +268,7 @@ void InputMapCanvasMap::onScreenChanged( QScreen *screen ) { mMapSettings->setDevicePixelRatio( screen->devicePixelRatio() ); } - mMapSettings->setOutputDpi( screen->physicalDotsPerInch() ); + mMapSettings->setOutputDpi( screen->logicalDotsPerInch() ); } }