Skip to content

Commit aef0d33

Browse files
committedNov 26, 2017
Fix definition of output file parameters
1 parent 4b9986e commit aef0d33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/analysis/processing/qgsalgorithmfiledownloader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void QgsFileDownloaderAlgorithm::initAlgorithm( const QVariantMap & )
5858
{
5959
addParameter( new QgsProcessingParameterString( QStringLiteral( "URL" ), tr( "URL" ), QVariant(), false, false ) );
6060
addParameter( new QgsProcessingParameterFileDestination( QStringLiteral( "OUTPUT" ),
61-
tr( "File destination" ), QObject::tr( "*.*" ), QVariant(), true ) );
61+
tr( "File destination" ), QObject::tr( "All files (*.*)" ), QVariant(), true ) );
6262
addOutput( new QgsProcessingOutputFile( QStringLiteral( "OUTPUT" ), tr( "File destination" ) ) );
6363
}
6464

‎src/analysis/processing/qgsalgorithmpackage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ QString QgsPackageAlgorithm::group() const
4545
void QgsPackageAlgorithm::initAlgorithm( const QVariantMap & )
4646
{
4747
addParameter( new QgsProcessingParameterMultipleLayers( QStringLiteral( "LAYERS" ), QObject::tr( "Input layers" ), QgsProcessing::TypeVector ) );
48-
addParameter( new QgsProcessingParameterFileDestination( QStringLiteral( "OUTPUT" ), QObject::tr( "Destination GeoPackage" ), QStringLiteral( "*.gpkg" ) ) );
48+
addParameter( new QgsProcessingParameterFileDestination( QStringLiteral( "OUTPUT" ), QObject::tr( "Destination GeoPackage" ), QObject::tr( "GeoPackage files (*.gpkg)" ) ) );
4949
addParameter( new QgsProcessingParameterBoolean( QStringLiteral( "OVERWRITE" ), QObject::tr( "Overwrite existing GeoPackage" ), false ) );
5050
}
5151

0 commit comments

Comments
 (0)
Please sign in to comment.