mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
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:
parent
0065f6c8cf
commit
ff57fcc648
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user