Skip to content

Commit

Permalink
Const
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and github-actions[bot] committed Dec 14, 2021
1 parent 5036712 commit 1e94bd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -1234,7 +1234,7 @@ void QgsAttributeForm::registerContainerInformation( QgsAttributeForm::Container
}
}

bool QgsAttributeForm::currentFormValidConstraints( QStringList &invalidFields, QStringList &descriptions )
bool QgsAttributeForm::currentFormValidConstraints( QStringList &invalidFields, QStringList &descriptions ) const
{
bool valid( true );

Expand All @@ -1258,7 +1258,7 @@ bool QgsAttributeForm::currentFormValidConstraints( QStringList &invalidFields,
return valid;
}

bool QgsAttributeForm::currentFormValidHardConstraints( QStringList &invalidFields, QStringList &descriptions )
bool QgsAttributeForm::currentFormValidHardConstraints( QStringList &invalidFields, QStringList &descriptions ) const
{
bool valid( true );

Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsattributeform.h
Expand Up @@ -433,8 +433,8 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
void updateConstraint( const QgsFeature &ft, QgsEditorWidgetWrapper *eww );
void updateLabels();
bool currentFormValuesFeature( QgsFeature &feature );
bool currentFormValidConstraints( QStringList &invalidFields, QStringList &descriptions );
bool currentFormValidHardConstraints( QStringList &invalidFields, QStringList &descriptions );
bool currentFormValidConstraints( QStringList &invalidFields, QStringList &descriptions ) const;
bool currentFormValidHardConstraints( QStringList &invalidFields, QStringList &descriptions ) const;
QList<QgsEditorWidgetWrapper *> constraintDependencies( QgsEditorWidgetWrapper *w );

Q_DECL_DEPRECATED QgsRelationWidgetWrapper *setupRelationWidgetWrapper( const QgsRelation &rel, const QgsAttributeEditorContext &context ) SIP_DEPRECATED;
Expand Down

0 comments on commit 1e94bd6

Please sign in to comment.