Increase the size of the moodbar cache to 60MB. Fixes issue 3052.
This commit is contained in:
parent
90db3b0e38
commit
f1117231e2
|
@ -40,7 +40,7 @@ MoodbarLoader::MoodbarLoader(Application* app, QObject* parent)
|
||||||
save_alongside_originals_(false)
|
save_alongside_originals_(false)
|
||||||
{
|
{
|
||||||
cache_->setCacheDirectory(Utilities::GetConfigPath(Utilities::Path_MoodbarCache));
|
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()));
|
connect(app, SIGNAL(SettingsChanged()), SLOT(ReloadSettings()));
|
||||||
ReloadSettings();
|
ReloadSettings();
|
||||||
|
|
Loading…
Reference in New Issue