Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
void ClientSideEncryption::scheduleFolderEncryptedStatusJob(const QString &path)
{
- auto getEncryptedStatus = new GetFolderEncryptStatusJob(_account, path);
+ auto getEncryptedStatus = new GetFolderEncryptStatusJob(_account, path, this);
connect(getEncryptedStatus, &GetFolderEncryptStatusJob::encryptStatusReceived,
this, &ClientSideEncryption::folderEncryptedStatusFetched);
connect(getEncryptedStatus, &GetFolderEncryptStatusJob::encryptStatusError,