Update default settings for album cover and song lyrics search options to be disabled
This commit modifies the default state of the "Automatically search for album cover" and "Automatically search for song lyrics" options to false in the UI and corresponding settings logic. Additionally, it updates the macOS Info.plist to disable automatic update checks by default.
This commit is contained in:
@@ -253,7 +253,7 @@ void ContextView::AddActions() {
|
||||
|
||||
action_search_lyrics_ = new QAction(tr("Automatically search for song lyrics"), this);
|
||||
action_search_lyrics_->setCheckable(true);
|
||||
action_search_lyrics_->setChecked(true);
|
||||
action_search_lyrics_->setChecked(false);
|
||||
|
||||
menu_options_->addAction(action_show_album_);
|
||||
menu_options_->addAction(action_show_data_);
|
||||
@@ -287,7 +287,7 @@ void ContextView::ReloadSettings() {
|
||||
action_show_album_->setChecked(s.value(ContextSettings::kAlbum, true).toBool());
|
||||
action_show_data_->setChecked(s.value(ContextSettings::kTechnicalData, false).toBool());
|
||||
action_show_lyrics_->setChecked(s.value(ContextSettings::kSongLyrics, true).toBool());
|
||||
action_search_lyrics_->setChecked(s.value(ContextSettings::kSearchLyrics, true).toBool());
|
||||
action_search_lyrics_->setChecked(s.value(ContextSettings::kSearchLyrics, false).toBool());
|
||||
font_headline_.setFamily(s.value(ContextSettings::kFontHeadline, default_font).toString());
|
||||
font_headline_.setPointSizeF(s.value(ContextSettings::kFontSizeHeadline, ContextSettings::kDefaultFontSizeHeadline).toReal());
|
||||
font_nosong_.setFamily(font_headline_.family());
|
||||
|
||||
@@ -1229,7 +1229,7 @@ void MainWindow::ReloadSettings() {
|
||||
osd_->ReloadSettings();
|
||||
|
||||
s.beginGroup(MainWindowSettings::kSettingsGroup);
|
||||
album_cover_choice_controller_->search_cover_auto_action()->setChecked(s.value(MainWindowSettings::kSearchForCoverAuto, true).toBool());
|
||||
album_cover_choice_controller_->search_cover_auto_action()->setChecked(s.value(MainWindowSettings::kSearchForCoverAuto, false).toBool());
|
||||
s.endGroup();
|
||||
|
||||
#ifdef HAVE_SUBSONIC
|
||||
|
||||
@@ -151,7 +151,7 @@ void ContextSettingsPage::Load() {
|
||||
s.endGroup();
|
||||
|
||||
s.beginGroup(MainWindowSettings::kSettingsGroup);
|
||||
ui_->checkbox_search_cover->setChecked(s.value(MainWindowSettings::kSearchForCoverAuto, true).toBool());
|
||||
ui_->checkbox_search_cover->setChecked(s.value(MainWindowSettings::kSearchForCoverAuto, false).toBool());
|
||||
s.endGroup();
|
||||
|
||||
Init(ui_->layout_contextsettingspage->parentWidget());
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
<string>Automatically search for album cover</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -195,7 +195,7 @@
|
||||
<string>Automatically search for song lyrics</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user