We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 1884225 commit c19af63Copy full SHA for c19af63
src/app/legend/qgslegendlayer.cpp
@@ -365,10 +365,13 @@ QPixmap QgsLegendLayer::getOriginalPixmap()
365
}
366
else if ( theLayer->type() == QgsMapLayer::RasterLayer )
367
{
368
+#if 0 //MH100708: disabled for 1.5 release because of performance problems
369
QgsRasterLayer* rlayer = qobject_cast<QgsRasterLayer *>( theLayer );
370
QPixmap myPixmap( 32, 32 );
371
rlayer->thumbnailAsPixmap( &myPixmap );
372
return myPixmap;
373
+#endif //0
374
+ return QPixmap();
375
376
377
0 commit comments