1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Properly handle points with extended style IDs

This commit is contained in:
Martin Tůma 2019-12-09 22:50:19 +01:00
parent ec0b0adba0
commit a986293f20
2 changed files with 2 additions and 2 deletions

View File

@ -966,7 +966,7 @@ const Style::Point &Style::point(quint32 type) const
{
static Point null;
QMap<quint16, Point>::const_iterator it = _points.find(type);
QMap<quint32, Point>::const_iterator it = _points.find(type);
return (it == _points.constEnd()) ? null : *it;
}

View File

@ -142,7 +142,7 @@ private:
QMap<quint32, Line> _lines;
QMap<quint32, Polygon> _polygons;
QMap<quint16, Point> _points;
QMap<quint32, Point> _points;
QList<quint32> _drawOrder;
};