diff options
author | Claudio Cambra <claudio.cambra@gmail.com> | 2022-11-09 19:08:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 19:08:12 +0300 |
commit | 136bbd14b3f739575ea2d38e14aa7dde8668a814 (patch) | |
tree | de397a4cc2108b13f782239ef97f3f416c04deb6 | |
parent | 16f6a7e479e8946e6d1a9964e0b2fd75ef077ee5 (diff) | |
parent | ddc14a844da596c8ed8bcf90860ab68b9d44b63d (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.cpp | 3 |
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(); |