Turn playlist glow effect off by default on macOS
This commit is contained in:
parent
b4f6c6f869
commit
e4b6e20db6
|
@ -996,7 +996,12 @@ void PlaylistView::ReloadSettings() {
|
|||
QSettings s;
|
||||
|
||||
s.beginGroup(PlaylistSettingsPage::kSettingsGroup);
|
||||
glow_enabled_ = s.value("glow_effect", true).toBool();
|
||||
#ifdef Q_OS_MACOS
|
||||
bool glow_effect = false;
|
||||
#else
|
||||
bool glow_effect = true;
|
||||
#endif
|
||||
glow_enabled_ = s.value("glow_effect", glow_effect).toBool();
|
||||
bool editmetadatainline = s.value("editmetadatainline", false).toBool();
|
||||
s.endGroup();
|
||||
|
||||
|
|
|
@ -55,7 +55,13 @@ void PlaylistSettingsPage::Load() {
|
|||
QSettings s;
|
||||
s.beginGroup(kSettingsGroup);
|
||||
|
||||
ui_->checkbox_glowcurrenttrack->setChecked(s.value("glow_effect", true).toBool());
|
||||
#ifdef Q_OS_MACOS
|
||||
bool glow_effect = false;
|
||||
#else
|
||||
bool glow_effect = true;
|
||||
#endif
|
||||
|
||||
ui_->checkbox_glowcurrenttrack->setChecked(s.value("glow_effect", glow_effect).toBool());
|
||||
ui_->checkbox_warncloseplaylist->setChecked(s.value("warn_close_playlist", true).toBool());
|
||||
ui_->checkbox_continueonerror->setChecked(s.value("continue_on_error", false).toBool());
|
||||
ui_->checkbox_greyout_songs_startup->setChecked(s.value("greyout_songs_startup", true).toBool());
|
||||
|
|
Loading…
Reference in New Issue