mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
set device pixel ratio on pixmap
This commit is contained in:
parent
9363aeb8c6
commit
2ff3f762d6
@ -99,6 +99,8 @@ QPixmap QgsAppScreenShots::takeScreenshot( QWidget *widget, GrabMode mode, QRect
|
||||
}
|
||||
}
|
||||
|
||||
pixmap.setDevicePixelRatio( scr->devicePixelRatio() );
|
||||
|
||||
if ( !crop.isNull() )
|
||||
{
|
||||
qreal dpr = scr->devicePixelRatio();
|
||||
|
Loading…
x
Reference in New Issue
Block a user