Fix enforcing the cache size limit and modernize the cache manager.

This commit is contained in:
Adam Reichold
2016-01-04 21:02:40 +01:00
parent f85d9a5b45
commit f66e838eb9
4 changed files with 253 additions and 264 deletions

View File

@@ -915,7 +915,7 @@ Thumbnail::~Thumbnail ()
Glib::ustring Thumbnail::getCacheFileName (Glib::ustring subdir)
{
return cachemgr->getCacheFileName (subdir, fname, cfs.md5);
return cachemgr->getCacheFileName (subdir, fname, Glib::ustring(), cfs.md5);
}
void Thumbnail::setFileName (const Glib::ustring fn)