Skip to content

Commit

Permalink
Use outline only indicator icon
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Sep 11, 2018
1 parent 4756f3e commit 318946a
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -709,6 +709,7 @@
<file>themes/default/mDockify.svg</file>
<file>themes/default/mActionReverseLine.svg</file>
<file>themes/default/mActionAdd3DMap.svg</file>
<file>themes/default/mIndicatorNonRemovable.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Expand Down
72 changes: 72 additions & 0 deletions images/themes/default/mIndicatorNonRemovable.svg
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/qgslayertreeviewnonremovableindicator.cpp
Expand Up @@ -24,7 +24,7 @@ QgsLayerTreeViewNonRemovableIndicatorProvider::QgsLayerTreeViewNonRemovableIndic
: QObject( view )
, mLayerTreeView( view )
{
mIcon = QgsApplication::getThemeIcon( QStringLiteral( "/lockedGray.svg" ) );
mIcon = QgsApplication::getThemeIcon( QStringLiteral( "/mIndicatorNonRemovable.svg" ) );

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

0 comments on commit 318946a

Please sign in to comment.