@@ -98,6 +98,7 @@ void ScrobblerSettingsPage::Load() {
|
||||
ui_->spinbox_submit->setValue(scrobbler_->submit_delay());
|
||||
ui_->checkbox_albumartist->setChecked(scrobbler_->prefer_albumartist());
|
||||
ui_->checkbox_show_error_dialog->setChecked(scrobbler_->ShowErrorDialog());
|
||||
ui_->checkbox_strip_remastered->setChecked(scrobbler_->strip_remastered());
|
||||
|
||||
ui_->checkbox_source_collection->setChecked(scrobbler_->sources().contains(Song::Source::Collection));
|
||||
ui_->checkbox_source_local->setChecked(scrobbler_->sources().contains(Song::Source::LocalFile));
|
||||
@@ -139,6 +140,7 @@ void ScrobblerSettingsPage::Save() {
|
||||
s.setValue("submit", ui_->spinbox_submit->value());
|
||||
s.setValue("albumartist", ui_->checkbox_albumartist->isChecked());
|
||||
s.setValue("show_error_dialog", ui_->checkbox_show_error_dialog->isChecked());
|
||||
s.setValue("strip_remastered", ui_->checkbox_strip_remastered->isChecked());
|
||||
|
||||
QStringList sources;
|
||||
if (ui_->checkbox_source_collection->isChecked()) sources << Song::TextForSource(Song::Source::Collection);
|
||||
|
||||
@@ -119,6 +119,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkbox_strip_remastered">
|
||||
<property name="text">
|
||||
<string>Strip "remastered" and similar from album and title</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupbox_sources">
|
||||
<property name="title">
|
||||
|
||||
Reference in New Issue
Block a user