Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use static notation
  • Loading branch information
pblottiere committed Feb 26, 2019
1 parent 7cce46e commit e0cbf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -465,7 +465,7 @@ namespace QgsWms

// Get the temporary output file
const QgsWmsParameters::Format format = mWmsParameters.format();
const QString extension = mWmsParameters.formatAsString( format ).toLower();
const QString extension = QgsWmsParameters::formatAsString( format ).toLower();

QTemporaryFile tempOutputFile( QDir::tempPath() + '/' + QStringLiteral( "XXXXXX.%1" ).arg( extension ) );
if ( !tempOutputFile.open() )
Expand Down

0 comments on commit e0cbf33

Please sign in to comment.