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:
parent
ec0b0adba0
commit
a986293f20
@ -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;
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ private:
|
||||
|
||||
QMap<quint32, Line> _lines;
|
||||
QMap<quint32, Polygon> _polygons;
|
||||
QMap<quint16, Point> _points;
|
||||
QMap<quint32, Point> _points;
|
||||
QList<quint32> _drawOrder;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user