Skip to content

Commit

Permalink
fix code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 25, 2018
1 parent 4147aaa commit 277e39d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 277e39d

Please sign in to comment.