| 391 | } |
| 392 | |
| 393 | void 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 | |
| 403 | std::tuple<QString, BootEntryListView &, BootEntryListModel &> EFIBootEditor::getBootEntryList(int index) |
| 404 | { |
nothing calls this directly
no test coverage detected