mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Do not detach encrypted files vector
This commit is contained in:
parent
3eb3535d0f
commit
3e05bd1da0
1 changed files with 2 additions and 2 deletions
|
@ -131,9 +131,9 @@ void PropagateUploadEncrypted::slotFolderEncryptedMetadataReceived(const QJsonDo
|
|||
// Find existing metadata for this file
|
||||
bool found = false;
|
||||
EncryptedFile encryptedFile;
|
||||
QVector<EncryptedFile> files = _metadata->files();
|
||||
const QVector<EncryptedFile> files = _metadata->files();
|
||||
|
||||
for(EncryptedFile &file : files) {
|
||||
for(const EncryptedFile &file : files) {
|
||||
if (file.originalFilename == fileName) {
|
||||
encryptedFile = file;
|
||||
found = true;
|
||||
|
|
Loading…
Reference in a new issue