From 50c7cff99c21824ce5cf116166906558f0f1464d Mon Sep 17 00:00:00 2001 From: morb_au Date: Tue, 31 May 2005 20:39:26 +0000 Subject: [PATCH] Fix for GRASS provider that wasn't playing nicely with the new QgsFeature API. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3508 c8812cc2-4d05-0410-92ff-de0c093fc19c --- providers/grass/qgsgrassprovider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/grass/qgsgrassprovider.cpp b/providers/grass/qgsgrassprovider.cpp index 293d6b8e24e..439dc5c91f5 100644 --- a/providers/grass/qgsgrassprovider.cpp +++ b/providers/grass/qgsgrassprovider.cpp @@ -442,7 +442,7 @@ QgsFeature* QgsGrassProvider::getNextFeature(std::list const& attlist) } } - f->setGeometry(wkb, wkbsize); + f->setGeometryAndOwnership(wkb, wkbsize); setFeatureAttributes( mLayerId, cat, f, attlist );