Skip to content

Commit

Permalink
fix(trashMgr): Will remove broken symlink now
Browse files Browse the repository at this point in the history
Change-Id: I5cc197d97b73d592e9bb7083d5defeab6cab0513
  • Loading branch information
BLumia committed Aug 27, 2018
1 parent 316ee49 commit 481ba0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/dtrashmanager_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ bool DTrashManager::cleanTrash()
QDir::Files | QDir::NoDotAndDotDot | QDir::Hidden);

QDirIterator iterator_files(TRASH_FILES_PATH,
QDir::AllEntries | QDir::NoDotAndDotDot | QDir::Hidden,
QDir::AllEntries | QDir::NoDotAndDotDot | QDir::Hidden | QDir::System,
QDirIterator::Subdirectories);

return DTrashManagerPrivate::removeFromIterator(iterator_info) &&
Expand Down

0 comments on commit 481ba0a

Please sign in to comment.