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

Method duplicateBootEntry

src/efibooteditor.cpp:393–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void EFIBootEditor::duplicateBootEntry()
394{
395 auto [name, list, model] = currentBootEntryList();
396 Q_UNUSED(name)
397 if(model.options & BootEntryListModel::Option::ReadOnly)
398 return;
399
400 list.duplicateRow();
401}
402
403std::tuple<QString, BootEntryListView &, BootEntryListModel &> EFIBootEditor::getBootEntryList(int index)
404{

Callers

nothing calls this directly

Calls 1

duplicateRowMethod · 0.80

Tested by

no test coverage detected