From 43fc8a7c5111db5db0e41cd3557d9ba7538b49ba Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 31 Oct 2022 20:19:36 +0100 Subject: [PATCH] Remove unused remotePath in User::processCompletedSyncItem Signed-off-by: Claudio Cambra --- src/gui/tray/usermodel.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/tray/usermodel.cpp b/src/gui/tray/usermodel.cpp index 3cee8809d5080..5b288cf819f3a 100644 --- 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();