Skip to content

Commit 0d433b0

Browse files
committed
Fix warnings
1 parent 4ec0912 commit 0d433b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/core/qgsvectorlayereditutils.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class QgsVectorLayerEditUtils
2929
/** Deletes a vertex from a feature.
3030
* @param featureId ID of feature to remove vertex from
3131
* @param vertex index of vertex to delete
32-
* @node added in QGIS 2.14
32+
* @note added in QGIS 2.14
3333
*/
3434
//TODO QGIS 3.0 - rename to deleteVertex
3535
QgsVectorLayer::EditResult deleteVertexV2( QgsFeatureId featureId, int vertex );

src/app/nodetool/qgsselectedfeature.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void QgsSelectedFeature::deleteSelectedVertexes()
284284
{
285285
// move all other
286286
if ( mFeatureId != resultIt.value().snappedAtGeometry )
287-
mVlayer->deleteVertex( resultIt.value().snappedAtGeometry, resultIt.value().snappedVertexNr );
287+
mVlayer->deleteVertexV2( resultIt.value().snappedAtGeometry, resultIt.value().snappedVertexNr );
288288
}
289289
}
290290

src/core/qgsvectorlayereditutils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils
5858
/** Deletes a vertex from a feature.
5959
* @param featureId ID of feature to remove vertex from
6060
* @param vertex index of vertex to delete
61-
* @node added in QGIS 2.14
61+
* @note added in QGIS 2.14
6262
*/
6363
//TODO QGIS 3.0 - rename to deleteVertex
6464
QgsVectorLayer::EditResult deleteVertexV2( QgsFeatureId featureId, int vertex );

0 commit comments

Comments
 (0)