Skip to content
Permalink
Browse files

Fix warnings

  • Loading branch information
nyalldawson committed Jan 27, 2016
1 parent 4ec0912 commit 0d433b092e5a2fa24fc79cfa1a8c1c36c931493b
@@ -29,7 +29,7 @@ class QgsVectorLayerEditUtils
/** Deletes a vertex from a feature.
* @param featureId ID of feature to remove vertex from
* @param vertex index of vertex to delete
* @node added in QGIS 2.14
* @note added in QGIS 2.14
*/
//TODO QGIS 3.0 - rename to deleteVertex
QgsVectorLayer::EditResult deleteVertexV2( QgsFeatureId featureId, int vertex );
@@ -284,7 +284,7 @@ void QgsSelectedFeature::deleteSelectedVertexes()
{
// move all other
if ( mFeatureId != resultIt.value().snappedAtGeometry )
mVlayer->deleteVertex( resultIt.value().snappedAtGeometry, resultIt.value().snappedVertexNr );
mVlayer->deleteVertexV2( resultIt.value().snappedAtGeometry, resultIt.value().snappedVertexNr );
}
}

@@ -58,7 +58,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils
/** Deletes a vertex from a feature.
* @param featureId ID of feature to remove vertex from
* @param vertex index of vertex to delete
* @node added in QGIS 2.14
* @note added in QGIS 2.14
*/
//TODO QGIS 3.0 - rename to deleteVertex
QgsVectorLayer::EditResult deleteVertexV2( QgsFeatureId featureId, int vertex );

0 comments on commit 0d433b0

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