Skip to content
Permalink
Browse files

[composer] Correctly set background color for map items (fix #9775)

  • Loading branch information
nyalldawson committed Apr 20, 2014
1 parent 2e6927f commit d0f40b99f5bbbef072ec801d5ce784364b37c8d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposermap.cpp
@@ -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();

0 comments on commit d0f40b9

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