Skip to content
Permalink
Browse files

[processing] Remove restrictive length limitations on created fields

  • Loading branch information
nyalldawson committed Jul 22, 2020
1 parent 518cc16 commit 262a193497cab979003272ef6421331342643809
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 262a193

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