Skip to content

Commit

Permalink
Default raster layer icon for when generation of raster legend layer …
Browse files Browse the repository at this point in the history
…icons is disabled
  • Loading branch information
dakcarto committed Jul 7, 2013
1 parent 0e6a169 commit d540f09
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/images.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
<file>themes/default/mIconProperties.svg</file>
<file>themes/default/mIconPyramid.png</file>
<file>themes/default/mIconRaster.png</file>
<file>themes/default/mIconRasterLayer.png</file>
<file>themes/default/mIconRenderingDisabled.png</file>
<file>themes/default/mIconRenderingEnabled.png</file>
<file>themes/default/mIconSelectAdd.svg</file>
Expand Down
50 changes: 50 additions & 0 deletions images/theme_originals/mIconRasterLayer.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/default/mIconRasterLayer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/legend/qgslegendlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ QPixmap QgsLegendLayer::getOriginalPixmap()
}
else
{
return QPixmap();
return QgsApplication::getThemePixmap( "/mIconRasterLayer.png" );
}
}
}
Expand Down

0 comments on commit d540f09

Please sign in to comment.