File tree Expand file tree Collapse file tree 3 files changed +242
-51
lines changed
Expand file tree Collapse file tree 3 files changed +242
-51
lines changed Original file line number Diff line number Diff line change 450450 <file>themes/default/mIconLineLayer.svg</file>
451451 <file>themes/default/mIconListView.svg</file>
452452 <file>themes/default/mIconLoading.gif</file>
453+ <file>themes/default/mIconMeshLayer.svg</file>
453454 <file>themes/default/mIconMssql.svg</file>
454455 <file>themes/default/mIconNoPyramid.svg</file>
455456 <file>themes/default/mIconOracle.svg</file>
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ QIcon QgsLayerItem::iconRaster()
7676
7777QIcon QgsLayerItem::iconMesh ()
7878{
79- return QgsApplication::getThemeIcon ( QStringLiteral ( " /mIconPointLayer .svg" ) );
79+ return QgsApplication::getThemeIcon ( QStringLiteral ( " /mIconMeshLayer .svg" ) );
8080}
8181
8282QIcon QgsLayerItem::iconDefault ()
@@ -626,29 +626,22 @@ QString QgsLayerItem::iconName( QgsLayerItem::LayerType layerType )
626626 {
627627 case Point:
628628 return QStringLiteral ( " /mIconPointLayer.svg" );
629- break ;
630629 case Line:
631630 return QStringLiteral ( " /mIconLineLayer.svg" );
632- break ;
633631 case Polygon:
634632 return QStringLiteral ( " /mIconPolygonLayer.svg" );
635- break ;
636633 // TODO add a new icon for generic Vector layers
637634 case Vector :
638635 return QStringLiteral ( " /mIconPolygonLayer.svg" );
639- break ;
640636 case TableLayer:
641637 case Table:
642638 return QStringLiteral ( " /mIconTableLayer.svg" );
643- break ;
644639 case Raster:
645640 return QStringLiteral ( " /mIconRaster.svg" );
646- break ;
647641 case Mesh:
648- // TODO add icon!
642+ return QStringLiteral ( " /mIconMeshLayer.svg " );
649643 default :
650644 return QStringLiteral ( " /mIconLayer.png" );
651- break ;
652645 }
653646}
654647
You can’t perform that action at this time.
0 commit comments