Skip to content
Permalink
Browse files

Fix warnings

  • Loading branch information
m-kuhn committed Jul 24, 2015
1 parent 09c2444 commit c93fdf93601e2ff137147fd387be944b4ac4f423
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/core/qgsrelation.cpp
  2. +1 −1 src/core/qgsrelation.h
@@ -216,9 +216,9 @@ QgsFeatureRequest QgsRelation::getReferencedFeatureRequest( const QgsFeature& fe
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;
mReferencedLayer->getFeatures( request ).nextFeature( f );
@@ -170,7 +170,7 @@ class CORE_EXPORT QgsRelation
*
* @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.

0 comments on commit c93fdf9

Please sign in to comment.
You can’t perform that action at this time.