Skip to content

Commit 318946a

Browse files
committed
Use outline only indicator icon
1 parent 4756f3e commit 318946a

File tree

3 files changed

+74
-1
lines changed

3 files changed

+74
-1
lines changed

images/images.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@
709709
<file>themes/default/mDockify.svg</file>
710710
<file>themes/default/mActionReverseLine.svg</file>
711711
<file>themes/default/mActionAdd3DMap.svg</file>
712+
<file>themes/default/mIndicatorNonRemovable.svg</file>
712713
</qresource>
713714
<qresource prefix="/images/tips">
714715
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Lines changed: 72 additions & 0 deletions
Loading

src/app/qgslayertreeviewnonremovableindicator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ QgsLayerTreeViewNonRemovableIndicatorProvider::QgsLayerTreeViewNonRemovableIndic
2424
: QObject( view )
2525
, mLayerTreeView( view )
2626
{
27-
mIcon = QgsApplication::getThemeIcon( QStringLiteral( "/lockedGray.svg" ) );
27+
mIcon = QgsApplication::getThemeIcon( QStringLiteral( "/mIndicatorNonRemovable.svg" ) );
2828

2929
QgsLayerTree *tree = mLayerTreeView->layerTreeModel()->rootGroup();
3030
onAddedChildren( tree, 0, tree->children().count() - 1 );

0 commit comments

Comments
 (0)