Skip to content
Permalink
Browse files

Simple typo fix

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11912 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 3, 2009
1 parent 8658272 commit 51813c7490ab2883262cf626d9f0332c509066ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaprenderer.cpp
@@ -427,7 +427,7 @@ void QgsMapRenderer::render( QPainter* painter )
QImage * mypImage = new QImage( mRenderContext.painter()->device()->width(),
mRenderContext.painter()->device()->height(), QImage::Format_ARGB32 );
mypImage->fill( 0 );
ml->setCacheImage( mypImage ); //no need to delete the oldone, maplayer does it for you
ml->setCacheImage( mypImage ); //no need to delete the old one, maplayer does it for you
QPainter * mypPainter = new QPainter( ml->cacheImage() );
if ( mySettings.value( "/qgis/enable_anti_aliasing", false ).toBool() )
{

0 comments on commit 51813c7

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