mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #5118 from nextcloud/bugfix/remove-unused-var-user
Remove unused remotePath in User::processCompletedSyncItem
This commit is contained in:
commit
136bbd14b3
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user