Skip to content

Commit 553090b

Browse files
committedAug 14, 2018
Fix warning
1 parent 546ecbe commit 553090b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/processing/qgsprocessingparameters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ QgsVectorLayer *QgsProcessingParameters::parameterAsVectorLayer( const QgsProces
603603

604604
QgsVectorLayer *QgsProcessingParameters::parameterAsVectorLayer( const QgsProcessingParameterDefinition *definition, const QVariant &value, QgsProcessingContext &context )
605605
{
606-
return qobject_cast< QgsVectorLayer *>( parameterAsVectorLayer( definition, value, context ) );
606+
return qobject_cast< QgsVectorLayer *>( parameterAsLayer( definition, value, context ) );
607607
}
608608

609609
QgsCoordinateReferenceSystem QgsProcessingParameters::parameterAsCrs( const QgsProcessingParameterDefinition *definition, const QVariantMap &parameters, QgsProcessingContext &context )

0 commit comments

Comments
 (0)
Please sign in to comment.