Skip to content

Commit

Permalink
Disable raster legend icon for release because of performance problems
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13899 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 8, 2010
1 parent 668813a commit fe96be1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/legend/qgslegendlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit fe96be1

Please sign in to comment.