projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16f6a7e
)
Remove unused remotePath in User::processCompletedSyncItem
author
Claudio Cambra
<claudio.cambra@nextcloud.com>
Mon, 31 Oct 2022 19:19:36 +0000
(20:19 +0100)
committer
Claudio Cambra
<claudio.cambra@gmail.com>
Wed, 9 Nov 2022 15:29:21 +0000
(16:29 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/tray/usermodel.cpp
patch
|
blob
|
history
diff --git
a/src/gui/tray/usermodel.cpp
b/src/gui/tray/usermodel.cpp
index 3cee8809d50808ece7d3666ebc2943d8a989ba51..5b288cf819f3a338b184aeb4bc3dfda062a5462e 100644
(file)
--- a/
src/gui/tray/usermodel.cpp
+++ b/
src/gui/tray/usermodel.cpp
@@
-617,9
+617,6
@@
void User::processCompletedSyncItem(const Folder *folder, const SyncFileItemPtr
}
if(activity._fileAction != "file_deleted" && !item->isEmpty()) {
- auto remotePath = folder->remotePath();
- remotePath.append(activity._fileAction == "file_renamed" ? item->_renameTarget : activity._file);
-
const auto localFiles = FolderMan::instance()->findFileInLocalFolders(item->_file, account());
if (!localFiles.isEmpty()) {
const auto firstFilePath = localFiles.constFirst();