| 216 | } |
| 217 | |
| 218 | void SetupWizardDialog::setupBIOSPage() |
| 219 | { |
| 220 | SettingWidgetBinder::BindWidgetToFolderSetting(nullptr, m_ui.biosSearchDirectory, m_ui.browseBiosSearchDirectory, |
| 221 | m_ui.openBiosSearchDirectory, m_ui.resetBiosSearchDirectory, "Folders", "Bios", |
| 222 | Path::Combine(EmuFolders::DataRoot, "bios")); |
| 223 | |
| 224 | refreshBiosList(); |
| 225 | |
| 226 | connect(m_ui.biosSearchDirectory, &QLineEdit::textChanged, this, &SetupWizardDialog::refreshBiosList); |
| 227 | connect(m_ui.refreshBiosList, &QPushButton::clicked, this, &SetupWizardDialog::refreshBiosList); |
| 228 | connect(m_ui.biosList, &QTreeWidget::currentItemChanged, this, &SetupWizardDialog::biosListItemChanged); |
| 229 | } |
| 230 | |
| 231 | void SetupWizardDialog::refreshBiosList() |
| 232 | { |
nothing calls this directly
no test coverage detected