Turn playlist glow effect off by default on macOS

This commit is contained in:
Jonas Kvinge
2019-08-17 00:00:12 +02:00
parent b4f6c6f869
commit e4b6e20db6
2 changed files with 13 additions and 2 deletions

View File

@@ -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();