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()) {
_uploadEncryptedHelper = new PropagateUploadEncrypted(propagator(), _item);
connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::folerNotEncrypted,
connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::folderNotEncrypted,
this, &PropagateUploadFileCommon::setupUnencryptedFile);
connect(_uploadEncryptedHelper, &PropagateUploadEncrypted::finalized,
this, &PropagateUploadFileCommon::setupEncryptedFile);

View file

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

View file

@ -24,7 +24,7 @@ class FolderMetadata;
* emits:
* finalized() if the encrypted file is ready to be uploaded
* 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();
// Emited if the file is not in a encrypted folder.
void folerNotEncrypted();
void folderNotEncrypted();
private:
OwncloudPropagator *_propagator;