Skip to content

Commit

Permalink
Remove unused remotePath in User::processCompletedSyncItem
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Nov 8, 2022
1 parent 1c11701 commit 43fc8a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gui/tray/usermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 43fc8a7

Please sign in to comment.