Skip to content
Permalink
Browse files

[processing] implement toOutputDefinition() method for

QgsProcessingParameterFileDestination

(cherry picked from commit 705ffce)
  • Loading branch information
alexbruy committed Mar 2, 2018
1 parent 26d4288 commit a2bf1ab7da6d3f34b4831789e99603a4b4ec3c8e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingparameters.cpp
@@ -3386,7 +3386,7 @@ QString QgsProcessingParameterFileDestination::valueAsPythonString( const QVaria

QgsProcessingOutputDefinition *QgsProcessingParameterFileDestination::toOutputDefinition() const
{
return nullptr;
return new QgsProcessingOutputFile( name(), description() );
}

QString QgsProcessingParameterFileDestination::defaultFileExtension() const

0 comments on commit a2bf1ab

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