Hi List,

I'm developing an application using the QGIS API.

At this point, I need to replicate the QGIS functionality for merging
features in a given layer. I copied some parts of the code from qgisapp.cpp,
but I have some problems.

In short, I receive an abort from the compiler when the method exits at the
point that the QList destructor is called.

Do I have to take special considerations calling this method?


The relevant code is:

    QgsFeatureList featureList = this->currentLayer->selectedFeatures();
//get QList<QgsFeature>

Where this->currentLayer is a QgsVectorLayer.

Thanks.

--
federico
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to