Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 16, 2023
1 parent a83ddee commit 4c992c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetablemodel.h
Expand Up @@ -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:

Expand Down

0 comments on commit 4c992c4

Please sign in to comment.