[QGIS Commit] r11912 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Nov 3 13:09:34 EST 2009


Author: timlinux
Date: 2009-11-03 13:09:34 -0500 (Tue, 03 Nov 2009)
New Revision: 11912

Modified:
   trunk/qgis/src/core/qgsmaprenderer.cpp
Log:
Simple typo fix

Modified: trunk/qgis/src/core/qgsmaprenderer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaprenderer.cpp	2009-11-03 18:08:57 UTC (rev 11911)
+++ trunk/qgis/src/core/qgsmaprenderer.cpp	2009-11-03 18:09:34 UTC (rev 11912)
@@ -427,7 +427,7 @@
             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() )
             {



More information about the QGIS-commit mailing list