Skip to content
Permalink
Browse files

fix variable type to avoid copy in for loop (#41462)

  • Loading branch information
3nids committed Feb 9, 2021
1 parent d6d4a6d commit 093bf4738d742cbb47b0b44808e78e44d86d1450
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/quickgui/qgsquickfeatureslistmodel.cpp
@@ -349,7 +349,7 @@ QVariant QgsQuickFeaturesListModel::convertMultivalueFormat( const QVariant &mul
QStringList list = QgsValueRelationFieldFormatter::valueToStringList( multivalue );
QList<QVariant> retList;

for ( const QVariant &i : list )
for ( const QString &i : list )
{
QVariant var = attributeFromValue( KeyColumn, i, role );
if ( !var.isNull() )

0 comments on commit 093bf47

Please sign in to comment.