Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Case insensitive
  • Loading branch information
pblottiere committed Jan 28, 2019
1 parent 19a77ff commit ca397b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsparameters.cpp
Expand Up @@ -522,7 +522,7 @@ namespace QgsWms
{
bool loaded = false;

const QRegExp composerParamRegExp( QStringLiteral( "^MAP\\d+:" ) );
const QRegExp composerParamRegExp( QStringLiteral( "^MAP\\d+:" ), Qt::CaseInsensitive );
if ( key.contains( composerParamRegExp ) )
{
const int mapId = key.midRef( 3, key.indexOf( ':' ) - 3 ).toInt();
Expand Down

0 comments on commit ca397b2

Please sign in to comment.