Add a way to know which folder was listed for encrypted status

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-10-20 16:15:56 +02:00
parent 65b90f4bb1
commit cfb66ddadd
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2
2 changed files with 7 additions and 0 deletions

View file

@ -29,6 +29,11 @@ GetFolderEncryptStatusJob::GetFolderEncryptStatusJob(const AccountPtr& account,
{
}
QString GetFolderEncryptStatusJob::folder() const
{
return _folder;
}
void GetFolderEncryptStatusJob::start()
{
QNetworkRequest req;

View file

@ -286,6 +286,8 @@ class OWNCLOUDSYNC_EXPORT GetFolderEncryptStatusJob : public AbstractNetworkJob
public:
explicit GetFolderEncryptStatusJob (const AccountPtr &account, const QString& folder, QObject *parent = nullptr);
QString folder() const;
public slots:
void start() override;