This commit is contained in:
Jonas Kvinge
2024-06-12 18:11:43 +02:00
parent 7b00385155
commit 57fb52e8f0
4 changed files with 7 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ MoodbarLoader::MoodbarLoader(Application *app, QObject *parent)
save_(false) {
cache_->setCacheDirectory(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QStringLiteral("/moodbar"));
cache_->setMaximumCacheSize(60 * 1024 * 1024); // 60MB - enough for 20,000 moodbars
cache_->setMaximumCacheSize(60LL * 1024LL * 1024LL); // 60MB - enough for 20,000 moodbars
QObject::connect(app, &Application::SettingsChanged, this, &MoodbarLoader::ReloadSettings);
ReloadSettings();