From: Christian Kamm Date: Thu, 1 Nov 2018 11:25:12 +0000 (+0100) Subject: Folder: Treat file unlock similar to external change #6822 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~439 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=da178c1352240fb5c72984549416ad7dff74e0f6;p=nextcloud-desktop.git Folder: Treat file unlock similar to external change #6822 For consistent handling of incoming notifications. --- diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index a06267258..5a3a5fbf6 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -882,7 +882,8 @@ void FolderMan::slotServerVersionChanged(Account *account) void FolderMan::slotWatchedFileUnlocked(const QString &path) { if (Folder *f = folderForPath(path)) { - f->scheduleThisFolderSoon(); + // Treat this equivalently to the file being reported by the file watcher + f->slotWatchedPathChanged(path); } }