File tree 3 files changed +242
-51
lines changed
3 files changed +242
-51
lines changed Original file line number Diff line number Diff line change 450
450
<file>themes/default/mIconLineLayer.svg</file>
451
451
<file>themes/default/mIconListView.svg</file>
452
452
<file>themes/default/mIconLoading.gif</file>
453
+ <file>themes/default/mIconMeshLayer.svg</file>
453
454
<file>themes/default/mIconMssql.svg</file>
454
455
<file>themes/default/mIconNoPyramid.svg</file>
455
456
<file>themes/default/mIconOracle.svg</file>
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ QIcon QgsLayerItem::iconRaster()
76
76
77
77
QIcon QgsLayerItem::iconMesh ()
78
78
{
79
- return QgsApplication::getThemeIcon ( QStringLiteral ( " /mIconPointLayer .svg" ) );
79
+ return QgsApplication::getThemeIcon ( QStringLiteral ( " /mIconMeshLayer .svg" ) );
80
80
}
81
81
82
82
QIcon QgsLayerItem::iconDefault ()
@@ -626,29 +626,22 @@ QString QgsLayerItem::iconName( QgsLayerItem::LayerType layerType )
626
626
{
627
627
case Point :
628
628
return QStringLiteral ( " /mIconPointLayer.svg" );
629
- break ;
630
629
case Line:
631
630
return QStringLiteral ( " /mIconLineLayer.svg" );
632
- break ;
633
631
case Polygon:
634
632
return QStringLiteral ( " /mIconPolygonLayer.svg" );
635
- break ;
636
633
// TODO add a new icon for generic Vector layers
637
634
case Vector :
638
635
return QStringLiteral ( " /mIconPolygonLayer.svg" );
639
- break ;
640
636
case TableLayer:
641
637
case Table:
642
638
return QStringLiteral ( " /mIconTableLayer.svg" );
643
- break ;
644
639
case Raster:
645
640
return QStringLiteral ( " /mIconRaster.svg" );
646
- break ;
647
641
case Mesh:
648
- // TODO add icon!
642
+ return QStringLiteral ( " /mIconMeshLayer.svg " );
649
643
default :
650
644
return QStringLiteral ( " /mIconLayer.png" );
651
- break ;
652
645
}
653
646
}
654
647
You can’t perform that action at this time.
0 commit comments