mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Remove unused computation
This commit is contained in:
parent
1284d78599
commit
926a52b33d
1 changed files with 0 additions and 6 deletions
|
@ -472,12 +472,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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue