mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix #9670 (respect map background color in composer)
This commit is contained in:
parent
bcbf9ddb64
commit
2519f1db04
@ -179,6 +179,7 @@ void QgsComposerMap::draw( QPainter *painter, const QgsRectangle& extent, const
|
||||
jobMapSettings.setOutputSize( size.toSize() );
|
||||
jobMapSettings.setOutputDpi( dpi );
|
||||
jobMapSettings.setMapUnits( ms.mapUnits() );
|
||||
jobMapSettings.setBackgroundColor( Qt::transparent );
|
||||
|
||||
//set layers to render
|
||||
jobMapSettings.setLayers( layersToRender() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user