Skip to content

Commit

Permalink
Update src/gui/editorwidgets/qgsvaluemapconfigdlg.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 27, 2019
1 parent 8e1a69d commit 0c666b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsvaluemapconfigdlg.cpp
Expand Up @@ -173,7 +173,7 @@ void QgsValueMapConfigDlg::updateMap( const QList<QPair<QString, QVariant>> &lis
++row;
}

for ( const auto &pair : list )
for ( const auto &pair : qgis::as_const( list ) )
{
if ( pair.second.isNull() )
setRow( row, pair.first, QString() );
Expand Down

0 comments on commit 0c666b4

Please sign in to comment.