Commit a07275bd authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Prefer QVector over QList

parent 6ec9b30e
......@@ -262,14 +262,14 @@ void BaseClipper::clipPolyObject ( const QPolygonF & polygon,
QVector<QPolygonF> & clippedPolyObjects,
bool isClosed )
{
QList<QSharedPointer<LinkedPoint>> basePolygon;
QList<QSharedPointer<LinkedPoint>> clipPolygon;
QList<QSharedPointer<LinkedPoint>> intersections;
QList<QSharedPointer<LinkedPoint>> intersectionsTop;
QList<QSharedPointer<LinkedPoint>> intersectionsRight;
QList<QSharedPointer<LinkedPoint>> intersectionsBottom;
QList<QSharedPointer<LinkedPoint>> intersectionsLeft;
QVector<QSharedPointer<LinkedPoint>> basePolygon;
QVector<QSharedPointer<LinkedPoint>> clipPolygon;
QVector<QSharedPointer<LinkedPoint>> intersections;
QVector<QSharedPointer<LinkedPoint>> intersectionsTop;
QVector<QSharedPointer<LinkedPoint>> intersectionsRight;
QVector<QSharedPointer<LinkedPoint>> intersectionsBottom;
QVector<QSharedPointer<LinkedPoint>> intersectionsLeft;
auto appendToIntersectionKind = [&](QSharedPointer<LinkedPoint>& intersection) {
switch(borderSector(intersection->point())) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment