| 823 | } |
| 824 | |
| 825 | void |
| 826 | TrackerPanel::removeRow(int row) |
| 827 | { |
| 828 | if ( (row < 0) || ( row >= (int)_imp->items.size() ) ) { |
| 829 | return; |
| 830 | } |
| 831 | blockSelection(); |
| 832 | _imp->model->removeRows(row); |
| 833 | unblockSelection(); |
| 834 | TrackItems::iterator it = _imp->items.begin(); |
| 835 | std::advance(it, row); |
| 836 | _imp->items.erase(it); |
| 837 | } |
| 838 | |
| 839 | void |
| 840 | TrackerPanel::removeMarker(const TrackMarkerPtr & marker) |
nothing calls this directly
no test coverage detected