Make scrobbler show error dialog for all errors when option is on

This commit is contained in:
Jonas Kvinge
2020-05-26 17:51:23 +02:00
parent 2521954bd9
commit 5dbdde3f2b
5 changed files with 11 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ void ScrobblerSettingsPage::Load() {
ui_->checkbox_offline->setChecked(scrobbler_->IsOffline());
ui_->spinbox_submit->setValue(scrobbler_->SubmitDelay());
ui_->checkbox_albumartist->setChecked(scrobbler_->PreferAlbumArtist());
ui_->checkbox_show_auth_error->setChecked(scrobbler_->ShowAuthError());
ui_->checkbox_show_error_dialog->setChecked(scrobbler_->ShowErrorDialog());
ui_->checkbox_lastfm_enable->setChecked(lastfmscrobbler_->IsEnabled());
ui_->checkbox_lastfm_https->setChecked(lastfmscrobbler_->IsUseHTTPS());
@@ -122,7 +122,7 @@ void ScrobblerSettingsPage::Save() {
s.setValue("offline", ui_->checkbox_offline->isChecked());
s.setValue("submit", ui_->spinbox_submit->value());
s.setValue("albumartist", ui_->checkbox_albumartist->isChecked());
s.setValue("show_auth_error", ui_->checkbox_show_auth_error->isChecked());
s.setValue("show_error_dialog", ui_->checkbox_show_error_dialog->isChecked());
s.endGroup();
s.beginGroup(LastFMScrobbler::kSettingsGroup);