Commit c60490dc authored by Torsten Rahn's avatar Torsten Rahn
Browse files

Minor fix for previous commit.

parent 905fc19b
Pipeline #241246 passed with stage
in 7 minutes and 23 seconds
......@@ -54,8 +54,8 @@ namespace Marble
if (m_map) {
QPolygonF displayPolygon;
displayPolygon << QPointF(0,0) << QPointF(m_map->mapWidth(), 0)
<< QPointF(m_map->mapWidth(), m_map->mapHeight()) << QPointF(0, m_map->mapHeight());
displayPolygon << QPointF(-10,-10) << QPointF(m_map->mapWidth() + 10, -10)
<< QPointF(m_map->mapWidth() + 10, m_map->mapHeight() + 10) << QPointF(-10, m_map->mapHeight() + 10);
m_screenPolygons.clear();
QVector<QPolygonF*> fullScreenPolygons;
bool success = m_map->screenCoordinatesFromGeoDataLineString(lineString, fullScreenPolygons);
......
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