mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Use a Qt<5.5 compatible vector append
This commit is contained in:
parent
743fb20a95
commit
5d8330a68a
@ -97,7 +97,7 @@ Track::Track(const TrackData &data) : _pause(0)
|
|||||||
else {
|
else {
|
||||||
_data.append(SegmentData());
|
_data.append(SegmentData());
|
||||||
for (int i = 0; i < data.size(); i++)
|
for (int i = 0; i < data.size(); i++)
|
||||||
_data[0].append(data.at(i));
|
_data[0] << data.at(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < _data.size(); i++) {
|
for (int i = 0; i < _data.size(); i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user