summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-09-04 14:30:00 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-09-04 14:30:00 (GMT)
commita07275bdc68d185b14a952f31e7d104a2b0ee813 (patch)
treea7249ac6ddbe68926d8c6e963b0def11b345c026
parent6ec9b30e7ab001964d0e8f71e0aaf57d5a4f3b11 (diff)
Prefer QVector over QList
-rw-r--r--tools/vectorosm-tilecreator/BaseClipper.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/vectorosm-tilecreator/BaseClipper.cpp b/tools/vectorosm-tilecreator/BaseClipper.cpp
index c7dc8e1..2a73570 100644
--- a/tools/vectorosm-tilecreator/BaseClipper.cpp
+++ b/tools/vectorosm-tilecreator/BaseClipper.cpp
@@ -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())) {