Skip to content

Commit

Permalink
Less noisy relations
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 10, 2020
1 parent d45cf98 commit 0e57b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsrelation.cpp
Expand Up @@ -205,7 +205,7 @@ QgsFeatureIterator QgsRelation::getRelatedFeatures( const QgsFeature &feature )
QgsFeatureRequest QgsRelation::getRelatedFeaturesRequest( const QgsFeature &feature ) const
{
QString filter = getRelatedFeaturesFilter( feature );
QgsDebugMsg( QStringLiteral( "Filter conditions: '%1'" ).arg( filter ) );
QgsDebugMsgLevel( QStringLiteral( "Filter conditions: '%1'" ).arg( filter ), 2 );

QgsFeatureRequest myRequest;
myRequest.setFilterExpression( filter );
Expand Down Expand Up @@ -237,7 +237,7 @@ QgsFeatureRequest QgsRelation::getReferencedFeatureRequest( const QgsAttributes

QgsFeatureRequest myRequest;

QgsDebugMsg( QStringLiteral( "Filter conditions: '%1'" ).arg( conditions.join( " AND " ) ) );
QgsDebugMsgLevel( QStringLiteral( "Filter conditions: '%1'" ).arg( conditions.join( " AND " ) ), 2 );

myRequest.setFilterExpression( conditions.join( QStringLiteral( " AND " ) ) );

Expand Down

0 comments on commit 0e57b90

Please sign in to comment.