mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
fix wrong assert
This commit is contained in:
parent
556210bb6d
commit
924e375f48
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user