Skip to content

Commit

Permalink
Fixed documentation: FetchAttributes does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 18, 2018
1 parent 4010e79 commit 5393df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/core/auto_generated/qgsfeaturerequest.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,7 @@ Sets flags that affect how features will be fetched

QgsFeatureRequest &setSubsetOfAttributes( const QgsAttributeList &attrs );
%Docstring
Set a subset of attributes that will be fetched. Empty list means that all attributes are used.
To disable fetching attributes, reset the FetchAttributes flag (which is set by default)
Set a subset of attributes that will be fetched.
%End

QgsAttributeList subsetOfAttributes() const;
Expand Down
3 changes: 1 addition & 2 deletions src/core/qgsfeaturerequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,7 @@ class CORE_EXPORT QgsFeatureRequest
const Flags &flags() const { return mFlags; }

/**
* Set a subset of attributes that will be fetched. Empty list means that all attributes are used.
* To disable fetching attributes, reset the FetchAttributes flag (which is set by default)
* Set a subset of attributes that will be fetched.
*/
QgsFeatureRequest &setSubsetOfAttributes( const QgsAttributeList &attrs );

Expand Down

0 comments on commit 5393df8

Please sign in to comment.