fix wrong assert

This commit is contained in:
Denis Rouzaud 2018-10-19 09:33:30 -04:00
parent 556210bb6d
commit 924e375f48

View File

@ -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