Skip to content

Commit

Permalink
Try to fix test which fails only on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 20, 2018
1 parent 7062668 commit 45ded37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/providers/arcgisrest/qgsafsfeatureiterator.cpp
Expand Up @@ -46,6 +46,11 @@ QgsAfsFeatureIterator::QgsAfsFeatureIterator( QgsAfsFeatureSource *source, bool
try
{
mFilterRect = filterRectToSourceCrs( mTransform );
if ( !mRequest.filterRect().isNull() && mFilterRect.isNull() )
{
close();
return;
}
}
catch ( QgsCsException & )
{
Expand Down

0 comments on commit 45ded37

Please sign in to comment.