mirror of https://github.com/zlatinb/muwire
do not use cached path in filtering in order to not instantiate VisualCache objects
parent
327559a91d
commit
ad03c4104c
|
@ -531,7 +531,7 @@ class MainFrameModel {
|
|||
private boolean filter(SharedFile sharedFile) {
|
||||
if (filter == null)
|
||||
return true
|
||||
String path = sharedFile.getCachedPath().toLowerCase()
|
||||
String path = sharedFile.getFile().getAbsolutePath().toLowerCase()
|
||||
boolean contains = true
|
||||
for (String keyword : filter) {
|
||||
contains &= path.contains(keyword)
|
||||
|
|
Loading…
Reference in New Issue