Skip to content

Commit

Permalink
Further mods to work-around the problem in ticket #83
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5571 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 8, 2006
1 parent a8f632d commit fd1eb1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgsmapcanvasmap.cpp
Expand Up @@ -74,6 +74,8 @@ void QgsMapCanvasMap::render()
mPixmap.fill(mBgColor.rgb());
QPainter paint;
paint.begin(&mPixmap);
// Clip our drawing to the QPixmap
paint.setClipRect(mPixmap.rect());
mRender->render(&paint);
paint.end();
}
Expand Down

0 comments on commit fd1eb1f

Please sign in to comment.