diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-01-15 15:37:25 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-01-15 19:05:20 +0300 |
commit | 66bfd904c1f59a791584e4c2d9ad6c70f9a19504 (patch) | |
tree | 803ece41a5a2e79fa0a800a9c601bc569c9a1b0e /src | |
parent | af44e0d0dcca71a3f519dbe3125a13896a809520 (diff) |
Remove unused computation
Diffstat (limited to 'src')
-rw-r--r-- | src/libsync/discoveryphase.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index 434f5b813..1eccaac90 100644 --- a/src/libsync/discoveryphase.cpp +++ b/src/libsync/discoveryphase.cpp @@ -455,12 +455,6 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(const QString &fi result.remotePerm.unsetPermission(RemotePermissions::IsMounted); result.remotePerm.setPermission(RemotePermissions::IsMountedSub); } - - QStringRef fileRef(&file); - int slashPos = file.lastIndexOf(QLatin1Char('/')); - if (slashPos > -1) { - fileRef = file.midRef(slashPos + 1); - } _results.push_back(std::move(result)); } |