From 9ac5041b43904a567ed91648852b55b545151adc Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 26 Mar 2022 18:22:38 +1000 Subject: [PATCH] Qt: Fix double entries in audio output modules --- pcsx2-qt/Settings/AudioSettingsWidget.cpp | 4 ++-- pcsx2-qt/Settings/AudioSettingsWidget.ui | 18 +----------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/pcsx2-qt/Settings/AudioSettingsWidget.cpp b/pcsx2-qt/Settings/AudioSettingsWidget.cpp index bb8bfa84af..2258c7d076 100644 --- a/pcsx2-qt/Settings/AudioSettingsWidget.cpp +++ b/pcsx2-qt/Settings/AudioSettingsWidget.cpp @@ -40,7 +40,7 @@ static const char* s_output_module_entries[] = { #ifdef _WIN32 QT_TRANSLATE_NOOP("AudioSettingsWidget", "XAudio2"), #endif - nullptr + nullptr }; static const char* s_output_module_values[] = { "nullout", @@ -48,7 +48,7 @@ static const char* s_output_module_values[] = { #ifdef _WIN32 "xaudio2", #endif - nullptr + nullptr }; AudioSettingsWidget::AudioSettingsWidget(SettingsDialog* dialog, QWidget* parent) diff --git a/pcsx2-qt/Settings/AudioSettingsWidget.ui b/pcsx2-qt/Settings/AudioSettingsWidget.ui index 74942abb64..4083ca627c 100644 --- a/pcsx2-qt/Settings/AudioSettingsWidget.ui +++ b/pcsx2-qt/Settings/AudioSettingsWidget.ui @@ -147,23 +147,7 @@ - - - - No Sound (Emulate SPU2 only) - - - - - Cubeb (Cross-platform) - - - - - XAudio2 - - - +