Apply suggestions from code review

This commit is contained in:
Nyall Dawson 2023-01-17 09:52:58 +10:00 committed by GitHub
parent a83ddeefb8
commit 4c992c4077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ constraint is not met.
.. versionadded:: 3.30
%End
void setShowValidityState( const bool &show );
void setShowValidityState( bool show );
%Docstring
Sets whether the attribute table will add a visual feedback to cells when an attribute constraint
is not met.

View File

@ -268,7 +268,7 @@ class GUI_EXPORT QgsAttributeTableModel: public QAbstractTableModel
* is not met.
* \since QGIS 3.30
*/
void setShowValidityState( const bool &show ) { mShowValidityState = show; }
void setShowValidityState( bool show ) { mShowValidityState = show; }
public slots: