Skip to content

Commit

Permalink
[composer] Correctly set background color for map items (fix #9775)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 20, 2014
1 parent 2e6927f commit d0f40b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermap.cpp
Expand Up @@ -86,7 +86,7 @@ QgsComposerMap::QgsComposerMap( QgsComposition *composition, int x, int y, int w
int bgRedInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorRedPart", 255 );
int bgGreenInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorGreenPart", 255 );
int bgBlueInt = QgsProject::instance()->readNumEntry( "Gui", "/CanvasColorBluePart", 255 );
mBackgroundColor = QColor( bgRedInt, bgGreenInt, bgBlueInt );
setBackgroundColor( QColor( bgRedInt, bgGreenInt, bgBlueInt ) );

connectUpdateSlot();

Expand Down

0 comments on commit d0f40b9

Please sign in to comment.