Skip to content
Permalink
Browse files

Fix doc and remove QOverload

  • Loading branch information
domi4484 committed Mar 22, 2021
1 parent c087063 commit a6ac61bc05890cafa9a33eebdd5723e243a2e629
@@ -320,7 +320,7 @@ Returns the relation for which this configuration widget applies
%Docstring
Set the nm relation for this widget.

:param config: The nm relation
:param nmRelation: The nm relation
%End

virtual QgsRelation nmRelation() const;
@@ -101,7 +101,7 @@ QgsAttributeWidgetRelationEditWidget::QgsAttributeWidgetRelationEditWidget( QWid
mWidgetTypeComboBox->addItem( it.value()->name(), it.key() );
}

connect( mRelationCardinalityCombo, QOverload<int>::of( &QComboBox::currentIndexChanged ), this, &QgsAttributeWidgetRelationEditWidget::relationCardinalityComboCurrentIndexChanged );
connect( mRelationCardinalityCombo, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, &QgsAttributeWidgetRelationEditWidget::relationCardinalityComboCurrentIndexChanged );
}

void QgsAttributeWidgetRelationEditWidget::setRelationEditorConfiguration( const QgsAttributesFormProperties::RelationEditorConfiguration &config, const QString &relationId )
@@ -349,7 +349,7 @@ class GUI_EXPORT QgsAbstractRelationEditorConfigWidget : public QWidget
/**
* \brief Set the nm relation for this widget.
*
* \param config The nm relation
* \param nmRelation The nm relation
*/
virtual void setNmRelation( const QgsRelation &nmRelation );

0 comments on commit a6ac61b

Please sign in to comment.