Skip to content
Permalink
Browse files

Address review comment

  • Loading branch information
nyalldawson committed Mar 13, 2020
1 parent edfc511 commit 8ebfc8578b40249040b9840bfa401d2f78ba7c53
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/processing/qgsprocessingparameters.cpp
@@ -6759,14 +6759,14 @@ void QgsProcessingParameterDatabaseSchema::setParentConnectionParameterName( con
QVariantMap QgsProcessingParameterDatabaseSchema::toVariantMap() const
{
QVariantMap map = QgsProcessingParameterDefinition::toVariantMap();
map.insert( QStringLiteral( "mParentLayerParameterName" ), mParentConnectionParameterName );
map.insert( QStringLiteral( "mParentConnectionParameterName" ), mParentConnectionParameterName );
return map;
}

bool QgsProcessingParameterDatabaseSchema::fromVariantMap( const QVariantMap &map )
{
QgsProcessingParameterDefinition::fromVariantMap( map );
mParentConnectionParameterName = map.value( QStringLiteral( "mParentLayerParameterName" ) ).toString();
mParentConnectionParameterName = map.value( QStringLiteral( "mParentConnectionParameterName" ) ).toString();
return true;
}

0 comments on commit 8ebfc85

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