Fix #9670 (respect map background color in composer)

This commit is contained in:
Martin Dobias 2014-02-27 09:42:32 +07:00
parent bcbf9ddb64
commit 2519f1db04

View File

@ -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() );