Skip to content

Commit 52d3144

Browse files
authored
Update qgsmapcanvas.cpp
1 parent 277e39d commit 52d3144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsmapcanvas.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ QgsRectangle QgsMapCanvas::imageRect( const QImage &img, const QgsMapSettings &m
692692
QgsPointXY topLeft = m2p.toMapCoordinates( 0, 0 );
693693
#ifdef QGISDEBUG
694694
// do not assert this, since it might lead to crashes when changing screen while rendering
695-
if( img.devicePixelRatio() != mapSettings.devicePixelRatio() )
695+
if ( img.devicePixelRatio() != mapSettings.devicePixelRatio() )
696696
{
697697
QgsLogger::warning( QStringLiteral( "The renderer map has a wrong device pixel ratio" ) );
698698
}

0 commit comments

Comments
 (0)