Skip to content

Commit

Permalink
fix Qt warnings when overview is hidden
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11196 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 29, 2009
1 parent 91713c7 commit d979b6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsmapoverviewcanvas.cpp
Expand Up @@ -242,6 +242,9 @@ void QgsMapOverviewCanvas::paintEvent( QPaintEvent * pe )

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

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

QPainter painter;
Expand Down

0 comments on commit d979b6c

Please sign in to comment.