Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
(cherry picked from commit df7e8af)
  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2021
1 parent 029d245 commit 3bba063
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -2305,9 +2305,7 @@ bool QgsOgrProvider::_setSubsetString( const QString &theSQL, bool updateFeature
// check the validity of the layer if subset string has changed
if ( subsetStringHasChanged )
{
QgsDebugMsgLevel( QStringLiteral( "checking validity" ), 4 );
loadFields();
QgsDebugMsgLevel( QStringLiteral( "Done checking validity" ), 4 );
}

invalidateCachedExtent( false );
Expand Down

0 comments on commit 3bba063

Please sign in to comment.