Skip to content

Commit

Permalink
Update src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: signedav <david@opengis.ch>
  • Loading branch information
m-kuhn and signedav committed Jan 7, 2019
1 parent 036c35a commit 740f671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
Expand Up @@ -74,7 +74,7 @@ QVariant QgsValueRelationWidgetWrapper::value() const
{
QVariantList vl;
//store as QVariantList because it's json
foreach ( QString s, selection )
for ( const QString &s, qgis::as_const( selection ) )
{
vl << s;
}
Expand Down

0 comments on commit 740f671

Please sign in to comment.