Qt: Hook up reset timestretch button

This commit is contained in:
Connor McLaughlin 2022-10-01 13:23:50 +10:00 committed by refractionpcsx2
parent d1021749bc
commit 256a5b94c5
2 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ AudioSettingsWidget::AudioSettingsWidget(SettingsDialog* dialog, QWidget* parent
connect(m_ui.seekWindowSize, &QSlider::valueChanged, this, &AudioSettingsWidget::updateTimestretchSeekwindowLengthLabel);
SettingWidgetBinder::BindWidgetToIntSetting(sif, m_ui.overlap, "Soundtouch", "OverlapMS", DEFAULT_SOUNDTOUCH_OVERLAP);
connect(m_ui.overlap, &QSlider::valueChanged, this, &AudioSettingsWidget::updateTimestretchOverlapLabel);
connect(m_ui.resetTimestretchDefaults, &QPushButton::clicked, this, &AudioSettingsWidget::resetTimestretchDefaults);
m_ui.label_3b->setVisible(false);
m_ui.dplLevel->setVisible(false);

View File

@ -361,7 +361,7 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<widget class="QPushButton" name="resetTimestretchDefaults">
<property name="minimumSize">
<size>
<width>120</width>