MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / removeEntryFilePath

Method removeEntryFilePath

src/bootentrylistmodel.cpp:137–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void BootEntryListModel::removeEntryFilePath(const QModelIndex &index, int row)
138{
139 if(!index.isValid() || !checkIndex(index))
140 return;
141
142 auto command = new RemoveBootEntryFilePathCommand{*this, index, row};
143 if(!undo_stack)
144 {
145 command->redo();
146 delete command;
147 return;
148 }
149
150 undo_stack->push(command);
151}
152
153void BootEntryListModel::moveEntryFilePath(const QModelIndex &index, int source_row, int destination_row)
154{

Callers 1

removeRowsMethod · 0.80

Calls 1

redoMethod · 0.45

Tested by

no test coverage detected