Skip to content
Permalink
Browse files

fix build with Qt <5.6

  • Loading branch information
jef-n committed Oct 24, 2018
1 parent b9c1440 commit 1113e5bae8bedb9df67777129fcf7f8178d77013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsrenderchecker.cpp
@@ -194,7 +194,9 @@ bool QgsRenderChecker::runTest( const QString &testName,
mElapsedTime = myTime.elapsed();

QImage myImage = job.renderedImage();
#if QT_VERSION >= 0x050600
Q_ASSERT( myImage.devicePixelRatioF() == mMapSettings.devicePixelRatio() );
#endif

//
// Save the pixmap to disk so the user can make a

1 comment on commit 1113e5b

@3nids

This comment has been minimized.

Copy link
Member

@3nids 3nids commented on 1113e5b Oct 24, 2018

thanks @jef-n

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