Skip to content
Permalink
Browse files
Further mods to work-around the problem in ticket #83
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 fd1eb1fefa8579af455e9135cc5af4d4f19ad9a2
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgsmapcanvasmap.cpp
@@ -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();
}

0 comments on commit fd1eb1f

Please sign in to comment.