Skip to content
Permalink
Browse files

Correctly antialias layer tree symbol previews

  • Loading branch information
nyalldawson committed Jun 10, 2020
1 parent 3eb4f8c commit 2829f52d5fc96dfdb32600ff3385e4a02cd5d475
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/layertree/qgslayertreemodellegendnode.cpp
@@ -404,6 +404,7 @@ QgsRenderContext *QgsLayerTreeModelLegendNode::createTemporaryRenderContext() co
context->setScaleFactor( dpi / 25.4 );
context->setRendererScale( scale );
context->setMapToPixel( QgsMapToPixel( mupp ) );
context->setFlag( QgsRenderContext::Antialiasing, true );
return context.release();
}

0 comments on commit 2829f52

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