diff --git a/src/geometry/vsplinepath.cpp b/src/geometry/vsplinepath.cpp index db8c401b3..9900c61ac 100644 --- a/src/geometry/vsplinepath.cpp +++ b/src/geometry/vsplinepath.cpp @@ -96,12 +96,7 @@ QVector VSplinePath::GetPathPoints() const { VSpline spl(path[i-1].P(), path[i].P(), path[i-1].Angle2(), path[i].Angle1(), path[i-1].KAsm2(), path[i].KAsm1(), this->kCurve); - //TODO Use QVector & QVector::operator+=(const QVector & other) instead for. - QVector splP = spl.GetPoints(); - for (qint32 j = 0; j < splP.size(); ++j) - { - pathPoints.append(splP[j]); - } + pathPoints += spl.GetPoints(); } return pathPoints; }