1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1170 re-activated accidently commented out code from commit a79efd7

This commit is contained in:
Corvus Corax 2014-03-30 17:47:31 +02:00
parent 96865faebd
commit 057563dfb2

View File

@ -292,11 +292,9 @@ void modelMapProxy::dataChanged(const QModelIndex &topLeft, const QModelIndex &b
void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last)
{
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;
WayPointItem *item;
internals::PointLatLng latlng;
@ -324,8 +322,8 @@ void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last)
} else {
item = myMap->WPInsert(latlng, altitude, desc, x);
}
}
*/
}
refreshOverlays();
}
void modelMapProxy::deleteWayPoint(int number)