Skip to content
Permalink
Browse files
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
  • Loading branch information
mhugent committed Jul 8, 2010
1 parent 1884225 commit c19af633cce81d066748d7f1354c7e8331f6ecff
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/legend/qgslegendlayer.cpp
@@ -365,10 +365,13 @@ QPixmap QgsLegendLayer::getOriginalPixmap()
}
else if ( theLayer->type() == QgsMapLayer::RasterLayer )
{
#if 0 //MH100708: disabled for 1.5 release because of performance problems
QgsRasterLayer* rlayer = qobject_cast<QgsRasterLayer *>( theLayer );
QPixmap myPixmap( 32, 32 );
rlayer->thumbnailAsPixmap( &myPixmap );
return myPixmap;
#endif //0
return QPixmap();
}
}

0 comments on commit c19af63

Please sign in to comment.