Skip to content

Commit 45ded37

Browse files
committedFeb 20, 2018
Try to fix test which fails only on Travis
1 parent 7062668 commit 45ded37

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/providers/arcgisrest/qgsafsfeatureiterator.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ QgsAfsFeatureIterator::QgsAfsFeatureIterator( QgsAfsFeatureSource *source, bool
4646
try
4747
{
4848
mFilterRect = filterRectToSourceCrs( mTransform );
49+
if ( !mRequest.filterRect().isNull() && mFilterRect.isNull() )
50+
{
51+
close();
52+
return;
53+
}
4954
}
5055
catch ( QgsCsException & )
5156
{

0 commit comments

Comments
 (0)
Please sign in to comment.