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

Method removeRow

Gui/TrackerPanel.cpp:828–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828void
829TrackerPanel::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
842void
843TrackerPanel::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