From 82e38ca2ee1aa8db675f5672bec37a4bb80cdeda Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 14 Apr 2019 17:13:04 +0200 Subject: [PATCH] (UI/QT) Dehardcode some more settings --- ui/drivers/qt/options/audio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/drivers/qt/options/audio.cpp b/ui/drivers/qt/options/audio.cpp index 8f673a31d9..766855fa7b 100644 --- a/ui/drivers/qt/options/audio.cpp +++ b/ui/drivers/qt/options/audio.cpp @@ -46,10 +46,10 @@ QWidget *AudioPage::widget() resamplerGroup->add(MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE); syncGroup->add(MENU_ENUM_LABEL_AUDIO_SYNC); - syncGroup->addFloatSpinBox(MENU_ENUM_LABEL_AUDIO_MAX_TIMING_SKEW); - syncGroup->addFloatSpinBox(MENU_ENUM_LABEL_AUDIO_RATE_CONTROL_DELTA); + syncGroup->add(MENU_ENUM_LABEL_AUDIO_MAX_TIMING_SKEW); + syncGroup->add(MENU_ENUM_LABEL_AUDIO_RATE_CONTROL_DELTA); - dspGroup->addFileSelector(MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN); + dspGroup->add(MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN); volumeLayout->addWidget(new CheckableIcon(MENU_ENUM_LABEL_AUDIO_MUTE, qApp->style()->standardIcon(QStyle::SP_MediaVolumeMuted))); volumeLayout->addLayout(new FloatSliderAndSpinBox(MENU_ENUM_LABEL_AUDIO_VOLUME));