Diffusion KIO d576ec8ae0e5

Avoid sending KDirNotify::emitFilesAdded when the emptytrashjob finishes

Authored by meven on Oct 18 2019, 7:06 AM.

Description

Avoid sending KDirNotify::emitFilesAdded when the emptytrashjob finishes

Summary:
D23650 added an empty trash check in trash fileRemoved triggering KDirNotify::emitFilesChanged.
Making the notification in emptytrashjob redundant and less prescise.
The two changes allow users to have reliable FilesChanged event when the trash is emptied whether by emptytrashjob or individual file deletion.

Needed for D23668

Reviewers: broulik, ngraham

Reviewed By: ngraham

Subscribers: elvisangelaccio, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D23851

Details

Committed
mevenOct 18 2019, 7:06 AM
Reviewer
ngraham
Differential Revision
D23851: Avoid sending KDirNotify::emitFilesAdded when the emptytrashjob finishes
Parents
R241:b2943029dda1: Fix build with cmake < 3.7
Branches
Unknown
Tags
Unknown