mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-1170 re-activated accidently commented out code from commit a79efd7
This commit is contained in:
parent
96865faebd
commit
057563dfb2
@ -292,11 +292,9 @@ void modelMapProxy::dataChanged(const QModelIndex &topLeft, const QModelIndex &b
|
|||||||
void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last)
|
void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last)
|
||||||
{
|
{
|
||||||
Q_UNUSED(parent);
|
Q_UNUSED(parent);
|
||||||
Q_UNUSED(first);
|
|
||||||
Q_UNUSED(last);
|
|
||||||
|
|
||||||
/*
|
|
||||||
for (int x = first; x < last + 1; x++) {
|
for (int x = first; x < last + 1; x++) {
|
||||||
QModelIndex index;
|
QModelIndex index;
|
||||||
WayPointItem *item;
|
WayPointItem *item;
|
||||||
internals::PointLatLng latlng;
|
internals::PointLatLng latlng;
|
||||||
@ -324,8 +322,8 @@ void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last)
|
|||||||
} else {
|
} else {
|
||||||
item = myMap->WPInsert(latlng, altitude, desc, x);
|
item = myMap->WPInsert(latlng, altitude, desc, x);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
refreshOverlays();
|
refreshOverlays();
|
||||||
}
|
}
|
||||||
void modelMapProxy::deleteWayPoint(int number)
|
void modelMapProxy::deleteWayPoint(int number)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user