D23851: Avoid sending KDirNotify::emitFilesAdded when the trash is emptied

Méven Car noreply at phabricator.kde.org
Tue Sep 10 21:22:26 BST 2019


meven created this revision.
meven added reviewers: broulik, ngraham.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.

REVISION SUMMARY
  D23650 <https://phabricator.kde.org/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 <https://phabricator.kde.org/D23668>

REPOSITORY
  R241 KIO

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23851

AFFECTED FILES
  src/core/emptytrashjob.cpp

To: meven, broulik, ngraham
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190910/46ba3534/attachment.html>


More information about the Kde-frameworks-devel mailing list