Skip to content
Permalink
Browse files

fix code layout

  • Loading branch information
3nids committed Oct 25, 2018
1 parent 4147aaa commit 277e39dcfb815937517710774b04cbf486e2c4ff
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/qgsmapcanvas.cpp
@@ -693,9 +693,9 @@ QgsRectangle QgsMapCanvas::imageRect( const QImage &img, const QgsMapSettings &m
#ifdef QGISDEBUG
// do not assert this, since it might lead to crashes when changing screen while rendering
if( img.devicePixelRatio() != mapSettings.devicePixelRatio() )
{
QgsLogger::warning( QStringLiteral( "The renderer map has a wrong device pixel ratio" ) );
}
{
QgsLogger::warning( QStringLiteral( "The renderer map has a wrong device pixel ratio" ) );
}
#endif
#if QT_VERSION >= 0x050600
double res = m2p.mapUnitsPerPixel() / img.devicePixelRatioF();

0 comments on commit 277e39d

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