Skip to content
Permalink
Browse files

Update qgsmapcanvas.cpp

  • Loading branch information
3nids committed Oct 25, 2018
1 parent 277e39d commit 52d3144c06c28717c15b323c3b5ac322bb498c00
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmapcanvas.cpp
@@ -692,7 +692,7 @@ QgsRectangle QgsMapCanvas::imageRect( const QImage &img, const QgsMapSettings &m
QgsPointXY topLeft = m2p.toMapCoordinates( 0, 0 );
#ifdef QGISDEBUG
// do not assert this, since it might lead to crashes when changing screen while rendering
if( img.devicePixelRatio() != mapSettings.devicePixelRatio() )
if ( img.devicePixelRatio() != mapSettings.devicePixelRatio() )
{
QgsLogger::warning( QStringLiteral( "The renderer map has a wrong device pixel ratio" ) );
}

0 comments on commit 52d3144

Please sign in to comment.
You can’t perform that action at this time.