Fixed documentation: FetchAttributes does not exist

This commit is contained in:
Alessandro Pasotti 2018-10-18 17:39:26 +02:00
parent 4010e79fe3
commit 5393df88ac
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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 );