修改GPS状态
This commit is contained in:
@@ -844,10 +844,14 @@ void OPMapWidget::WPDeleteAll()
|
||||
WayPointItem *w = qgraphicsitem_cast<WayPointItem *>(i);
|
||||
|
||||
if (w) {
|
||||
emit WPDeleted(w->Number(), w);
|
||||
delete w;
|
||||
/*
|
||||
if (w->Number() != -1) {
|
||||
emit WPDeleted(w->Number(), w);
|
||||
delete w;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user