We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c43cd99 commit 25accbcCopy full SHA for 25accbc
src/server/services/wms/qgswmsutils.cpp
@@ -94,7 +94,7 @@ namespace QgsWms
94
QRegularExpression::CaseInsensitiveOption );
95
96
QRegularExpressionMatch match = modeExpr.match( format );
97
- QString mode = match.captured();
+ QString mode = match.captured( 1 );
98
if ( mode.compare( QLatin1String( "16bit" ), Qt::CaseInsensitive ) == 0 )
99
return PNG16;
100
if ( mode.compare( QLatin1String( "8bit" ), Qt::CaseInsensitive ) == 0 )
0 commit comments