Re-add option to save lyrics in music folder.

Closes #1454
This commit is contained in:
Craig Drummond
2019-02-21 17:42:33 +00:00
committed by Craig Drummond
parent 0e68e8d3d7
commit 3e839b1d32
6 changed files with 35 additions and 6 deletions

View File

@@ -274,6 +274,11 @@ bool Settings::storeCoversInMpdDir()
return cfg.get("storeCoversInMpdDir", false);
}
bool Settings::storeLyricsInMpdDir()
{
return cfg.get("storeLyricsInMpdDir", false);
}
QString Settings::coverFilename()
{
QString name=cfg.get("coverFilename", QString());
@@ -806,6 +811,11 @@ void Settings::saveStoreCoversInMpdDir(bool v)
cfg.set("storeCoversInMpdDir", v);
}
void Settings::saveStoreLyricsInMpdDir(bool v)
{
cfg.set("storeLyricsInMpdDir", v);
}
void Settings::saveCoverFilename(const QString &v)
{
cfg.set("coverFilename", v);