mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-07 18:53:02 +02:00
Code cleanup
This commit is contained in:
parent
f07f3de19f
commit
2efc7a3d2c
@ -172,12 +172,10 @@ PathItem *MapView::addTrack(const Track &track)
|
||||
return 0;
|
||||
}
|
||||
|
||||
QColor color(_palette.nextColor());
|
||||
|
||||
TrackItem *ti = new TrackItem(track, _map);
|
||||
_tracks.append(ti);
|
||||
_tr |= ti->path().boundingRect();
|
||||
ti->setColor(color);
|
||||
ti->setColor(_palette.nextColor());
|
||||
ti->setWidth(_trackWidth);
|
||||
ti->setPenStyle(_trackStyle);
|
||||
ti->setVisible(_showTracks);
|
||||
|
Loading…
x
Reference in New Issue
Block a user