Skip to content
Permalink
Browse files
Implement rewind() in wfs iterator
  • Loading branch information
mhugent committed Jan 21, 2013
1 parent 8e2262b commit bde20b48c59983b44f4890d8529604d8bb3a0112
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/providers/wfs/qgswfsfeatureiterator.cpp
@@ -68,7 +68,12 @@ bool QgsWFSFeatureIterator::nextFeature( QgsFeature& f )

bool QgsWFSFeatureIterator::rewind()
{
return false;
if ( !mProvider )
{
return false;
}

mFeatureIterator = mSelectedFeatures.constBegin();
}

bool QgsWFSFeatureIterator::close()

0 comments on commit bde20b4

Please sign in to comment.