Skip to content
Permalink
Browse files

fix wrong assert

  • Loading branch information
3nids committed Oct 19, 2018
1 parent 556210b commit 924e375f48121369e36d369c01d8bdf38d17726d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaprendererjob.cpp
@@ -366,7 +366,7 @@ LabelRenderJob QgsMapRendererJob::prepareLabelingJob( QPainter *painter, QgsLabe
job.cached = true;
job.complete = true;
job.img = new QImage( mCache->cacheImage( LABEL_CACHE_ID ) );
Q_ASSERT( job.img->devicePixelRatio() == 2 );
Q_ASSERT( job.img->devicePixelRatio() == mSettings.devicePixelRatio() );
job.context.setPainter( nullptr );
}
else

0 comments on commit 924e375

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