1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-14 09:44:51 +01:00

Fix loading replay gain setting

Fixes #311
This commit is contained in:
Jonas Kvinge 2019-11-24 19:34:05 +01:00
parent 46fd329913
commit f8e83e3631

View File

@ -65,7 +65,6 @@ BackendSettingsPage::BackendSettingsPage(SettingsDialog *dialog) : SettingsPage(
ui_->label_bufferminfillvalue->setMinimumWidth(QFontMetrics(ui_->label_bufferminfillvalue->font()).width("WW%"));
ui_->label_replaygainpreamp->setMinimumWidth(QFontMetrics(ui_->label_replaygainpreamp->font()).width("-WW.W dB"));
#endif
RgPreampChanged(ui_->stickslider_replaygainpreamp->value());
s_.beginGroup(BackendSettingsPage::kSettingsGroup);
@ -179,6 +178,7 @@ void BackendSettingsPage::Load() {
connect(ui_->checkbox_volume_control, SIGNAL(toggled(bool)), SLOT(FadingOptionsChanged()));
FadingOptionsChanged();
RgPreampChanged(ui_->stickslider_replaygainpreamp->value());
}