Skip to content

Commit

Permalink
add missing breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 3, 2021
1 parent eb46def commit c46c066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/symbology/qgsmarkersymbollayer.cpp
Expand Up @@ -2668,6 +2668,7 @@ void QgsRasterMarkerSymbolLayer::resolvePaths( QVariantMap &properties, const Qg
QVariantMap map = value.toMap();
resolvePaths( map, pathResolver, saving );
value.setValue( map );
break;
}

case QVariant::String:
Expand All @@ -2676,6 +2677,7 @@ void QgsRasterMarkerSymbolLayer::resolvePaths( QVariantMap &properties, const Qg
value.setValue( QgsSymbolLayerUtils::svgSymbolPathToName( value.toString(), pathResolver ) );
else
value.setValue( QgsSymbolLayerUtils::svgSymbolNameToPath( value.toString(), pathResolver ) );
break;
}

case QVariant::StringList:
Expand All @@ -2689,6 +2691,7 @@ void QgsRasterMarkerSymbolLayer::resolvePaths( QVariantMap &properties, const Qg
list[i] = QgsSymbolLayerUtils::svgSymbolNameToPath( list[i], pathResolver );
}
value.setValue( list );
break;
}

case QVariant::List:
Expand All @@ -2705,6 +2708,7 @@ void QgsRasterMarkerSymbolLayer::resolvePaths( QVariantMap &properties, const Qg
}
}
value.setValue( list );
break;
}

default:
Expand Down

0 comments on commit c46c066

Please sign in to comment.