Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Cambra <claudio.cambra@gmail.com>2022-11-09 19:08:12 +0300
committerGitHub <noreply@github.com>2022-11-09 19:08:12 +0300
commit136bbd14b3f739575ea2d38e14aa7dde8668a814 (patch)
treede397a4cc2108b13f782239ef97f3f416c04deb6
parent16f6a7e479e8946e6d1a9964e0b2fd75ef077ee5 (diff)
parentddc14a844da596c8ed8bcf90860ab68b9d44b63d (diff)
Merge pull request #5118 from nextcloud/bugfix/remove-unused-var-user
Remove unused remotePath in User::processCompletedSyncItem
-rw-r--r--src/gui/tray/usermodel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/tray/usermodel.cpp b/src/gui/tray/usermodel.cpp
index 3cee8809d..5b288cf81 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();