Skip to content

Commit

Permalink
Add missing breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 6, 2018
1 parent 3153326 commit 0d3dd70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/symbology/qgssymbolslistwidget.cpp
Expand Up @@ -175,16 +175,20 @@ void QgsSymbolsListWidget::createAuxiliaryField()
if ( markerSymbol )
markerSymbol->setDataDefinedAngle( button->toProperty() );
break;

case QgsSymbolLayer::PropertySize:
if ( markerSymbol )
{
markerSymbol->setDataDefinedSize( button->toProperty() );
markerSymbol->setScaleMethod( QgsSymbol::ScaleDiameter );
}
break;

case QgsSymbolLayer::PropertyStrokeWidth:
if ( lineSymbol )
lineSymbol->setDataDefinedWidth( button->toProperty() );
break;

default:
break;
}
Expand Down
2 changes: 2 additions & 0 deletions src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -1619,6 +1619,8 @@ bool QgsOgrProvider::addAttributeOGRLevel( const QgsField &field, bool &ignoreEr
{
case QVariant::Bool:
OGR_Fld_SetSubType( fielddefn.get(), OFSTBoolean );
break;

default:
break;
}
Expand Down

0 comments on commit 0d3dd70

Please sign in to comment.