diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 8591918ee2..03f851d309 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -754,7 +754,7 @@ settings_dialog::settings_dialog(std::shared_ptr guiSettings, std: for (s32 index = 3; index >= 0; index--) { - if (xemu_settings->m_microphone_creator.sel_list[index] == "" || mics_combo[index]->findText(qstr(xemu_settings->m_microphone_creator.sel_list[index])) == -1) + if (xemu_settings->m_microphone_creator.sel_list[index].empty() || mics_combo[index]->findText(qstr(xemu_settings->m_microphone_creator.sel_list[index])) == -1) { mics_combo[index]->setCurrentText(xemu_settings->m_microphone_creator.mic_none); ChangeMicrophoneDevice(index+1, xemu_settings->m_microphone_creator.mic_none); // Ensures the value is set in config @@ -764,6 +764,7 @@ settings_dialog::settings_dialog(std::shared_ptr guiSettings, std: } xemu_settings->EnhanceComboBox(ui->microphoneBox, emu_settings::MicrophoneType); + ui->microphoneBox->setItemText(ui->microphoneBox->findData("Null"), tr("Disabled")); SubscribeTooltip(ui->microphoneBox, json_audio["microphoneBox"].toString()); connect(ui->microphoneBox, &QComboBox::currentTextChanged, ChangeMicrophoneType); PropagateUsedDevices(); // Enables/Disables comboboxes and checks values from config for sanity