Skip to content
Permalink
Browse files

Remove restrictive length limitations on created fields

  • Loading branch information
github-actions authored and nyalldawson committed Jul 22, 2020
1 parent 4bfd9a3 commit 88fa86dfbeb899a7d9de1a33e1b0c70a49ee07cd
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/processing/qgsalgorithmmergevector.cpp
@@ -167,13 +167,13 @@ QVariantMap QgsMergeVectorAlgorithm::processAlgorithm( const QVariantMap &parame
bool addLayerField = false;
if ( outputFields.lookupField( QStringLiteral( "layer" ) ) < 0 )
{
outputFields.append( QgsField( QStringLiteral( "layer" ), QVariant::String, QString(), 100 ) );
outputFields.append( QgsField( QStringLiteral( "layer" ), QVariant::String, QString() ) );
addLayerField = true;
}
bool addPathField = false;
if ( outputFields.lookupField( QStringLiteral( "path" ) ) < 0 )
{
outputFields.append( QgsField( QStringLiteral( "path" ), QVariant::String, QString(), 200 ) );
outputFields.append( QgsField( QStringLiteral( "path" ), QVariant::String, QString() ) );
addPathField = true;
}

0 comments on commit 88fa86d

Please sign in to comment.
You can’t perform that action at this time.