1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 12:02:48 +01:00

Increase the size of the moodbar cache to 60MB. Fixes issue 3052.

This commit is contained in:
David Sansome 2012-07-15 17:17:17 +01:00
parent 90db3b0e38
commit f1117231e2

View File

@ -40,7 +40,7 @@ MoodbarLoader::MoodbarLoader(Application* app, QObject* parent)
save_alongside_originals_(false)
{
cache_->setCacheDirectory(Utilities::GetConfigPath(Utilities::Path_MoodbarCache));
cache_->setMaximumCacheSize(10 * 1024 * 1024); // 10MB - enough for 3333 moodbars
cache_->setMaximumCacheSize(60 * 1024 * 1024); // 60MB - enough for 20,000 moodbars
connect(app, SIGNAL(SettingsChanged()), SLOT(ReloadSettings()));
ReloadSettings();