From e6f0b404d17ff3c19522529f20bea613ed64e828 Mon Sep 17 00:00:00 2001 From: Mariano Lizarraga Date: Thu, 2 Sep 2010 14:45:31 -0500 Subject: [PATCH] Change the way waypoints are named --- src/ui/MapWidget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/MapWidget.cc b/src/ui/MapWidget.cc index 4811d95..40a1ebd 100644 --- a/src/ui/MapWidget.cc +++ b/src/ui/MapWidget.cc @@ -328,7 +328,7 @@ void MapWidget::captureMapClick(const QMouseEvent* event, const QPointF coordina // Create waypoint name QString str; - str = QString("WP%1").arg(path->numberOfPoints()); + str = QString("%1").arg(path->numberOfPoints()); // create the WP and set everything in the LineString to display the path CirclePoint* tempCirclePoint = new CirclePoint(coordinate.x(), coordinate.y(), 10, str);