Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
debug message always in case contrastEnhancement alg is not SLD suppo…
…rted
  • Loading branch information
luipir committed Feb 1, 2019
1 parent a6391d7 commit 461b31d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/raster/qgscontrastenhancement.cpp
Expand Up @@ -399,7 +399,8 @@ void QgsContrastEnhancement::toSld( QDomDocument &doc, QDomElement &element ) co
case NoEnhancement:
return;
default:
QgsDebugMsgLevel( QStringLiteral( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() ) ), 4 );
QString algName = contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() );
QgsDebugMsg( QObject::tr( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( algName ) );
return;
}

Expand Down

0 comments on commit 461b31d

Please sign in to comment.