Skip to content
Permalink
Browse files

Make saving shapefiles slightly faster

  • Loading branch information
nyalldawson committed Feb 16, 2017
1 parent 34b277a commit f706c71dbb74cf622db88da166cbdab8dc69ca89
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsvectorfilewriter.cpp
@@ -2304,6 +2304,7 @@ QgsVectorFileWriter::writeAsVectorFormat( QgsVectorLayer* layer,
{
req.setFilterFids( layer->selectedFeatureIds() );
}
req.setSubsetOfAttributes( QgsAttributeList() );
QgsFeatureIterator fit = layer->getFeatures( req );
QgsFeature fet;

1 comment on commit f706c71

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn commented on f706c71 Feb 16, 2017

That's always welcome :)

Please sign in to comment.
You can’t perform that action at this time.