Skip to content
Permalink
Browse files
Remove obsolete warnings
  • Loading branch information
mhugent authored and nyalldawson committed Dec 23, 2021
1 parent caa1398 commit 2a7382e24cf408d506ed12b36c602a0bec5367c7
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/vectortile/qgsmapboxglstyleconverter.cpp
@@ -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
@@ -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

0 comments on commit 2a7382e

Please sign in to comment.