Skip to content
Permalink
Browse files

removed comment

  • Loading branch information
luipir committed Sep 3, 2018
1 parent 6068c19 commit 365e952cd970a78e48969d6623b8076de045bcb2
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/processing/models/qgsprocessingmodelalgorithm.cpp
@@ -597,9 +597,7 @@ QMap<QString, QgsProcessingModelAlgorithm::VariableDefinition> QgsProcessingMode
featureSource = vl;
}

// TODO: should I tag variable name with type? e.g. %1_feature
variables.insert( safeName( QStringLiteral( "%1" ).arg( name ) ), VariableDefinition( value, source, description ) );

variables.insert( safeName( QStringLiteral( "%1_minx" ).arg( name ) ), VariableDefinition( featureSource ? featureSource->sourceExtent().xMinimum() : QVariant(), source, QObject::tr( "Minimum X of %1" ).arg( description ) ) );
variables.insert( safeName( QStringLiteral( "%1_miny" ).arg( name ) ), VariableDefinition( featureSource ? featureSource->sourceExtent().yMinimum() : QVariant(), source, QObject::tr( "Minimum Y of %1" ).arg( description ) ) );
variables.insert( safeName( QStringLiteral( "%1_maxx" ).arg( name ) ), VariableDefinition( featureSource ? featureSource->sourceExtent().xMaximum() : QVariant(), source, QObject::tr( "Maximum X of %1" ).arg( description ) ) );

0 comments on commit 365e952

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