| 308 | } |
| 309 | |
| 310 | void EFIBootEditor::updateBootOptionSupport(uint32_t flags) |
| 311 | { |
| 312 | ui->hot_keys->setDisabled(!(flags & EFIBoot::EFI_BOOT_OPTION_SUPPORT_KEY)); |
| 313 | ui->entry_form->showCategory(flags & EFIBoot::EFI_BOOT_OPTION_SUPPORT_APP); |
| 314 | ui->entry_form->showHotKeys((flags & EFIBoot::EFI_BOOT_OPTION_SUPPORT_KEY) && (std::get<2>(currentBootEntryList()).options & BootEntryListModel::Option::IsBoot)); |
| 315 | ui->entries->setTabVisible(ui->entries->indexOf(ui->sysprep_tab), flags & EFIBoot::EFI_BOOT_OPTION_SUPPORT_SYSPREP); |
| 316 | } |
| 317 | |
| 318 | void EFIBootEditor::reorderBootEntries() |
| 319 | { |
nothing calls this directly
no test coverage detected