diff --git a/images/images.qrc b/images/images.qrc index d239b1e632c..d1f31f9118f 100644 --- a/images/images.qrc +++ b/images/images.qrc @@ -342,6 +342,7 @@ themes/default/mIconProperties.svg themes/default/mIconPyramid.png themes/default/mIconRaster.png + themes/default/mIconRasterLayer.png themes/default/mIconRenderingDisabled.png themes/default/mIconRenderingEnabled.png themes/default/mIconSelectAdd.svg diff --git a/images/theme_originals/mIconRasterLayer.svg b/images/theme_originals/mIconRasterLayer.svg new file mode 100644 index 00000000000..5ca6aaa62c1 --- /dev/null +++ b/images/theme_originals/mIconRasterLayer.svg @@ -0,0 +1,50 @@ + + + + +GIS icon theme 0.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/themes/default/mIconRasterLayer.png b/images/themes/default/mIconRasterLayer.png new file mode 100644 index 00000000000..024c600f507 Binary files /dev/null and b/images/themes/default/mIconRasterLayer.png differ diff --git a/src/app/legend/qgslegendlayer.cpp b/src/app/legend/qgslegendlayer.cpp index 4440e17d2b8..6a007c0d384 100644 --- a/src/app/legend/qgslegendlayer.cpp +++ b/src/app/legend/qgslegendlayer.cpp @@ -321,7 +321,7 @@ QPixmap QgsLegendLayer::getOriginalPixmap() } else { - return QPixmap(); + return QgsApplication::getThemePixmap( "/mIconRasterLayer.png" ); } } }