File cache improvement, deleting old temp files

This commit is contained in:
Jindra Petřík
2014-11-23 19:44:05 +01:00
parent af13faa786
commit abb3ec9dc7
11 changed files with 485 additions and 102 deletions

View File

@@ -78,7 +78,7 @@ public class FolderPreviewPanel extends JPanel {
public FolderPreviewPanel(final MainPanel mainPanel, List<TreeItem> items) {
this.items = items;
cachedPreviews = Cache.getInstance(false);
cachedPreviews = Cache.getInstance(false,"preview");
addMouseListener(new MouseAdapter() {