MCPcopy Create free account
hub / github.com/MrKepzie/Natron / removeRow

Method removeRow

Gui/TrackerPanel.cpp:825–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825void
826TrackerPanel::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
839void
840TrackerPanel::removeMarker(const TrackMarkerPtr & marker)

Callers

nothing calls this directly

Calls 4

removeRowsMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected