Skip to content

Commit

Permalink
Const storage on list of formats
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Apr 15, 2019
1 parent 0acc056 commit 2895a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsidentifyresultsdialog.cpp
Expand Up @@ -806,7 +806,7 @@ void QgsIdentifyResultsDialog::addFeature( QgsRasterLayer *layer,
// Add all supported formats, best first. HTML is considered the best because
// it usually holds most information.
int capabilities = layer->dataProvider()->capabilities();
const QList<QgsRaster::IdentifyFormat> formats
static const QList<QgsRaster::IdentifyFormat> formats
{
QgsRaster::IdentifyFormatHtml,
QgsRaster::IdentifyFormatFeature,
Expand Down

0 comments on commit 2895a64

Please sign in to comment.