Skip to content

Commit

Permalink
s/if/whether
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Nov 15, 2024
1 parent 80c371d commit 0bf10ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/PyQt6/core/auto_generated/qgsmaplayermodel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Sets which layers are checked in the model.

bool itemsCheckable() const;
%Docstring
Returns if the items can be checked or not
Returns whether the items can be checked or not
%End

QModelIndex indexFromLayer( QgsMapLayer *layer ) const;
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmaplayermodel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Sets which layers are checked in the model.

bool itemsCheckable() const;
%Docstring
Returns if the items can be checked or not
Returns whether the items can be checked or not
%End

QModelIndex indexFromLayer( QgsMapLayer *layer ) const;
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmaplayermodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class CORE_EXPORT QgsMapLayerModel : public QAbstractItemModel
*/
void setLayersChecked( const QList< QgsMapLayer * > &layers );

//! Returns if the items can be checked or not
//! Returns whether the items can be checked or not
bool itemsCheckable() const { return mItemCheckable; }

/**
Expand Down

0 comments on commit 0bf10ba

Please sign in to comment.