ouch - missed the real change in r15255

git-svn-id: http://svn.osgeo.org/qgis/trunk@15257 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2011-02-24 17:47:53 +00:00
parent 0065f6c8cf
commit ff57fcc648

View File

@ -228,6 +228,12 @@ void QgsMapRenderer::render( QPainter* painter )
return;
}
if ( mSize.width() == 1 && mSize.height() == 1 )
{
QgsDebugMsg( "size 1x1... not rendering" );
return;
}
QPaintDevice* thePaintDevice = painter->device();
if ( !thePaintDevice )
{