MCPcopy Create free account
hub / github.com/clementgallet/libTAS / duplicate

Method duplicate

src/program/ui/InputEventModel.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void InputEventModel::duplicate(int min_row, int max_row)
142{
143 beginInsertRows(QModelIndex(), rowCount(), rowCount()+(max_row-min_row));
144 for (int r = min_row; r <= max_row; r++)
145 events.push_back(events[r]);
146 endInsertRows();
147}
148
149void InputEventModel::remove(int min_row, int max_row)
150{

Callers 1

slotNewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected