File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ bool PropagateLocalRemove::removeRecursively(const QString &path)
5656
5757 qCInfo (lcPropagateLocalRemove ()) << " delete" << absolute;
5858
59+ Q_EMIT propagator ()->touchedFile (absolute);
60+
5961 const auto success = FileSystem::removeRecursively (absolute,
6062 [&deleted](const QString &path, bool isDir) {
6163 // by prepending, a folder deletion may be followed by content deletions
@@ -66,7 +68,6 @@ bool PropagateLocalRemove::removeRecursively(const QString &path)
6668 [this ] (const QString &itemPath, QString *removeError) -> bool {
6769 auto result = false ;
6870
69- Q_EMIT propagator ()->touchedFile (itemPath);
7071 if (_deleteToClientTrashBin.contains (itemPath)) {
7172 result = FileSystem::moveToTrash (itemPath, removeError);
7273 if (!result) {
You can’t perform that action at this time.
0 commit comments