Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-06-17 12:52:06 +02:00
parent 839c056b8d
commit 5afcf71e68
3 changed files with 4 additions and 4 deletions

View file

@ -173,7 +173,7 @@ void PropagateUploadFileCommon::start()
{ {
if (propagator()->account()->capabilities().clientSideEncryptionAvaliable()) { if (propagator()->account()->capabilities().clientSideEncryptionAvaliable()) {
_uploadEncryptedHelper = new PropagateUploadEncrypted(propagator(), _item); _uploadEncryptedHelper = new PropagateUploadEncrypted(propagator(), _item);
connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::folerNotEncrypted, connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::folderNotEncrypted,
this, &PropagateUploadFileCommon::setupUnencryptedFile); this, &PropagateUploadFileCommon::setupUnencryptedFile);
connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::finalized, connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::finalized,
this, &PropagateUploadFileCommon::setupEncryptedFile); this, &PropagateUploadFileCommon::setupEncryptedFile);

View file

@ -63,7 +63,7 @@ void PropagateUploadEncrypted::slotFolderEncryptedStatusFetched(const QString &f
job->start(); job->start();
} else { } else {
qCDebug(lcPropagateUploadEncrypted) << "Folder is not encrypted, getting back to default."; qCDebug(lcPropagateUploadEncrypted) << "Folder is not encrypted, getting back to default.";
emit folerNotEncrypted(); emit folderNotEncrypted();
} }
} }

View file

@ -24,7 +24,7 @@ class FolderMetadata;
* emits: * emits:
* finalized() if the encrypted file is ready to be uploaded * finalized() if the encrypted file is ready to be uploaded
* error() if there was an error with the encryption * error() if there was an error with the encryption
* folerNotEncrypted() if the file is within a folder that's not encrypted. * folderNotEncrypted() if the file is within a folder that's not encrypted.
* *
*/ */
@ -60,7 +60,7 @@ signals:
void error(); void error();
// Emited if the file is not in a encrypted folder. // Emited if the file is not in a encrypted folder.
void folerNotEncrypted(); void folderNotEncrypted();
private: private:
OwncloudPropagator *_propagator; OwncloudPropagator *_propagator;