Make in memory cache size configurable

This commit is contained in:
craig.p.drummond
2014-03-14 19:07:31 +00:00
parent 74bd2e4fee
commit 19689a2fa2
8 changed files with 75 additions and 60 deletions

View File

@@ -890,6 +890,12 @@ int Settings::maxCoverUpdatePerIteration()
return RESTRICT(v, 1, 20);
}
int Settings::coverCacheSize()
{
int v=GET_INT("coverCacheSize", 4);
return RESTRICT(v, 1, 512);
}
QStringList Settings::cueFileCodecs()
{
return GET_STRINGLIST("cueFileCodecs", QStringList());