From 2f9ae9e9462a5a366461f20b4d0c2f4b80ef1b68 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Feb 2022 15:42:16 +0100 Subject: Local-manga: improve loading of page when using slow medium Especially when using NFS. Only get the latest chapter when needed and cache link to the cover page. --- src/plugins/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Matrix.cpp') diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index a71b3a8..ba95a4c 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -3832,7 +3832,7 @@ namespace QuickMedia { remove(matrix_sync_data_path.data.c_str()); //Path filter_cache_path = get_storage_dir().join("matrix").join("filter"); //remove(filter_cache_path.data.c_str()); - for_files_in_dir(get_cache_dir().join("matrix").join("events"), [](const Path &filepath) { + for_files_in_dir(get_cache_dir().join("matrix").join("events"), [](const Path &filepath, FileType) { remove(filepath.data.c_str()); return true; }); -- cgit v1.2.3