Skip to content
Permalink
Browse files

Add missing breaks

  • Loading branch information
m-kuhn committed Aug 5, 2018
1 parent 3153326 commit 0d3dd703653d46e9af269d91f5a82d8e975409b3
Showing with 6 additions and 0 deletions.
  1. +4 −0 src/gui/symbology/qgssymbolslistwidget.cpp
  2. +2 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -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;
}
@@ -1619,6 +1619,8 @@ bool QgsOgrProvider::addAttributeOGRLevel( const QgsField &field, bool &ignoreEr
{
case QVariant::Bool:
OGR_Fld_SetSubType( fielddefn.get(), OFSTBoolean );
break;

default:
break;
}

0 comments on commit 0d3dd70

Please sign in to comment.
You can’t perform that action at this time.