Skip to content

Commit c19af63

Browse files
author
mhugent
committed
Disable raster legend icon for release because of performance problems
git-svn-id: http://svn.osgeo.org/qgis/trunk@13899 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1884225 commit c19af63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/legend/qgslegendlayer.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,13 @@ QPixmap QgsLegendLayer::getOriginalPixmap()
365365
}
366366
else if ( theLayer->type() == QgsMapLayer::RasterLayer )
367367
{
368+
#if 0 //MH100708: disabled for 1.5 release because of performance problems
368369
QgsRasterLayer* rlayer = qobject_cast<QgsRasterLayer *>( theLayer );
369370
QPixmap myPixmap( 32, 32 );
370371
rlayer->thumbnailAsPixmap( &myPixmap );
371372
return myPixmap;
373+
#endif //0
374+
return QPixmap();
372375
}
373376
}
374377

0 commit comments

Comments
 (0)