mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix warnings
This commit is contained in:
parent
09c2444829
commit
c93fdf9360
@ -216,9 +216,9 @@ QgsFeatureRequest QgsRelation::getReferencedFeatureRequest( const QgsFeature& fe
|
|||||||
return getReferencedFeatureRequest( feature.attributes() );
|
return getReferencedFeatureRequest( feature.attributes() );
|
||||||
}
|
}
|
||||||
|
|
||||||
QgsFeature QgsRelation::getReferencedFeature( const QgsFeature& child ) const
|
QgsFeature QgsRelation::getReferencedFeature( const QgsFeature& feature ) const
|
||||||
{
|
{
|
||||||
QgsFeatureRequest request = getReferencedFeatureRequest( child );
|
QgsFeatureRequest request = getReferencedFeatureRequest( feature );
|
||||||
|
|
||||||
QgsFeature f;
|
QgsFeature f;
|
||||||
mReferencedLayer->getFeatures( request ).nextFeature( f );
|
mReferencedLayer->getFeatures( request ).nextFeature( f );
|
||||||
|
@ -170,7 +170,7 @@ class CORE_EXPORT QgsRelation
|
|||||||
*
|
*
|
||||||
* @return A request the referenced feature
|
* @return A request the referenced feature
|
||||||
*/
|
*/
|
||||||
QgsFeature getReferencedFeature( const QgsFeature& child ) const;
|
QgsFeature getReferencedFeature( const QgsFeature& feature ) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a human readable name for this relation. Mostly used as title for the children.
|
* Returns a human readable name for this relation. Mostly used as title for the children.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user