Skip to content
Permalink
Browse files

fix msvc build (followup acf74a6)

  • Loading branch information
jef-n committed Jan 16, 2017
1 parent 660df4a commit 42026af9fcafcc4b85c8029cdb9a0ec514dda31c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaprenderercustompainterjob.cpp
@@ -75,7 +75,7 @@ void QgsMapRendererCustomPainterJob::start()
#ifndef QT_NO_DEBUG
QPaintDevice* thePaintDevice = mPainter->device();
QString errMsg = QString( "pre-set DPI not equal to painter's DPI (%1 vs %2)" ).arg( thePaintDevice->logicalDpiX() ).arg( mSettings.outputDpi() );
Q_ASSERT_X( thePaintDevice->logicalDpiX() == round( mSettings.outputDpi() ), "Job::startRender()", errMsg.toAscii().data() );
Q_ASSERT_X( thePaintDevice->logicalDpiX() == qgsRound( mSettings.outputDpi() ), "Job::startRender()", errMsg.toAscii().data() );
#endif

delete mLabelingEngine;

0 comments on commit 42026af

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