diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-02-18 17:48:41 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-26 11:45:46 +0100 |
commit | b002670ba868b6e6a35687fe74c9137cfe0ac6f5 (patch) | |
tree | c34adb540922b420e507f3470ea30a64257c867e /src/imports/location/qdeclarativepolygonmapitem.cpp | |
parent | 2344d27189c9c1eadb34411ad3ff795b11a38b52 (diff) |
Remove unnecessary code.
I don't see much point in using custom Point classes. QPointF is
already fully inline and constexpr.
Change-Id: Ie7a854831e78d8e3ce4777a558d203765b53c9f0
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/location/qdeclarativepolygonmapitem.cpp')
-rw-r--r-- | src/imports/location/qdeclarativepolygonmapitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativepolygonmapitem.cpp b/src/imports/location/qdeclarativepolygonmapitem.cpp index 48346abf..032d619d 100644 --- a/src/imports/location/qdeclarativepolygonmapitem.cpp +++ b/src/imports/location/qdeclarativepolygonmapitem.cpp @@ -297,7 +297,7 @@ void QGeoMapPolygonGeometry::updateScreenPoints(const QGeoMap &map) p2t::Triangle *t = tris.at(i); for (int j = 0; j < 3; ++j) { p2t::Point *p = t->GetPoint(j); - screenVertices_ << Point(p->x, p->y); + screenVertices_ << QPointF(p->x, p->y); } } delete cdt; |