Skip to content

Commit

Permalink
Remove obsolete warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent authored and nyalldawson committed Dec 23, 2021
1 parent caa1398 commit 2a7382e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/vectortile/qgsmapboxglstyleconverter.cpp
Expand Up @@ -282,7 +282,6 @@ bool QgsMapBoxGlStyleConverter::parseFillLayer( const QVariantMap &jsonLayer, Qg
case QVariant::Map:
if ( ddProperties.isActive( QgsSymbolLayer::PropertyFillColor ) )
{
context.pushWarning( QObject::tr( "%1: Could not set opacity of layer, opacity already defined in fill color" ).arg( context.layerId() ) );
symbol->setDataDefinedProperty( QgsSymbol::PropertyOpacity, parseInterpolateOpacityByZoom( jsonFillOpacity.toMap(), 255, &context ) );
}
else
Expand All @@ -297,7 +296,6 @@ bool QgsMapBoxGlStyleConverter::parseFillLayer( const QVariantMap &jsonLayer, Qg
case QVariant::StringList:
if ( ddProperties.isActive( QgsSymbolLayer::PropertyFillColor ) )
{
context.pushWarning( QObject::tr( "%1: Could not set opacity of layer, opacity already defined in fill color" ).arg( context.layerId() ) );
symbol->setDataDefinedProperty( QgsSymbol::PropertyOpacity, parseValueList( jsonFillOpacity.toList(), PropertyType::Numeric, context, 100, 100 ) );
}
else
Expand Down

0 comments on commit 2a7382e

Please sign in to comment.