mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-29 16:49:27 +01:00
Use previews as default setting if deezer engine and dzmedia is missing
This commit is contained in:
parent
5853bc68d1
commit
de11cb173b
@ -123,7 +123,12 @@ void DeezerService::ReloadSettings() {
|
||||
songssearchlimit_ = s.value("songssearchlimit", 100).toInt();
|
||||
fetchalbums_ = s.value("fetchalbums", false).toBool();
|
||||
coversize_ = s.value("coversize", "cover_big").toString();
|
||||
preview_ = s.value("preview", false).toBool();
|
||||
#if defined(HAVE_DEEZER) || defined(HAVE_DZMEDIA)
|
||||
bool preview(false);
|
||||
#else
|
||||
bool preview(true);
|
||||
#endif
|
||||
preview_ = s.value("preview", preview).toBool();
|
||||
s.endGroup();
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user