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

Method updateBootOptionSupport

src/efibooteditor.cpp:310–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void 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
318void EFIBootEditor::reorderBootEntries()
319{

Callers

nothing calls this directly

Calls 2

showCategoryMethod · 0.80
showHotKeysMethod · 0.80

Tested by

no test coverage detected