Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
nyalldawson committed Mar 22, 2020
1 parent ccfecae commit a0af78386c24ea7e623926a5fa2279146a9ddec2
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/layout/qgslayoutitemscalebar.cpp
@@ -852,7 +852,7 @@ bool QgsLayoutItemScaleBar::readPropertiesFromElement( const QDomElement &itemEl
}
if ( !foundLineSymbol )
{
// old project compatiblity
// old project compatibility
std::unique_ptr< QgsLineSymbol > lineSymbol = qgis::make_unique< QgsLineSymbol >();
std::unique_ptr< QgsSimpleLineSymbolLayer > lineSymbolLayer = qgis::make_unique< QgsSimpleLineSymbolLayer >();
lineSymbolLayer->setWidth( itemElem.attribute( QStringLiteral( "outlineWidth" ), QStringLiteral( "0.3" ) ).toDouble() );
@@ -943,7 +943,7 @@ bool QgsLayoutItemScaleBar::readPropertiesFromElement( const QDomElement &itemEl
}
if ( !foundFillSymbol1 )
{
// old project compatiblity
// old project compatibility
std::unique_ptr< QgsFillSymbol > fillSymbol = qgis::make_unique< QgsFillSymbol >();
std::unique_ptr< QgsSimpleFillSymbolLayer > fillSymbolLayer = qgis::make_unique< QgsSimpleFillSymbolLayer >();
fillSymbolLayer->setStrokeStyle( Qt::NoPen );
@@ -994,7 +994,7 @@ bool QgsLayoutItemScaleBar::readPropertiesFromElement( const QDomElement &itemEl
}
if ( !foundFillSymbol2 )
{
// old project compatiblity
// old project compatibility
std::unique_ptr< QgsFillSymbol > fillSymbol = qgis::make_unique< QgsFillSymbol >();
std::unique_ptr< QgsSimpleFillSymbolLayer > fillSymbolLayer = qgis::make_unique< QgsSimpleFillSymbolLayer >();
fillSymbolLayer->setStrokeStyle( Qt::NoPen );

0 comments on commit a0af783

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