Skip to content
Permalink
Browse files

fix Qt warnings when overview is hidden

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11196 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jul 29, 2009
1 parent e4d44bd commit 54e9d456037d03869567f0bc2a55440c97911541
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsmapoverviewcanvas.cpp
@@ -242,6 +242,9 @@ void QgsMapOverviewCanvas::paintEvent( QPaintEvent * pe )

void QgsMapOverviewCanvas::refresh()
{
if ( mPixmap.isNull() )
return;

mPixmap.fill( mBgColor ); //palette().color(backgroundRole());

QPainter painter;

0 comments on commit 54e9d45

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