Skip to content

Commit 461b31d

Browse files
committed
debug message always in case contrastEnhancement alg is not SLD supported
1 parent a6391d7 commit 461b31d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/raster/qgscontrastenhancement.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ void QgsContrastEnhancement::toSld( QDomDocument &doc, QDomElement &element ) co
399399
case NoEnhancement:
400400
return;
401401
default:
402-
QgsDebugMsgLevel( QStringLiteral( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() ) ), 4 );
402+
QString algName = contrastEnhancementAlgorithmString( contrastEnhancementAlgorithm() );
403+
QgsDebugMsg( QObject::tr( "No SLD1.0 convertion yet for stretch algorithm %1" ).arg( algName ) );
403404
return;
404405
}
405406

0 commit comments

Comments
 (0)