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