diff --git a/src/gui/wizard/owncloudwizard.cpp b/src/gui/wizard/owncloudwizard.cpp index 37b3ebeea4fc1..238286aa0accd 100644 --- a/src/gui/wizard/owncloudwizard.cpp +++ b/src/gui/wizard/owncloudwizard.cpp @@ -193,6 +193,11 @@ QStringList OwncloudWizard::selectiveSyncBlacklist() const return _advancedSetupPage->selectiveSyncBlacklist(); } +bool OwncloudWizard::useFlow2() const +{ + return _useFlow2; +} + bool OwncloudWizard::useVirtualFileSync() const { return _advancedSetupPage->useVirtualFileSync(); diff --git a/src/gui/wizard/owncloudwizard.h b/src/gui/wizard/owncloudwizard.h index 7b006c7272c25..7f69587a45da7 100644 --- a/src/gui/wizard/owncloudwizard.h +++ b/src/gui/wizard/owncloudwizard.h @@ -65,6 +65,7 @@ class OwncloudWizard : public QWizard [[nodiscard]] QString ocUrl() const; [[nodiscard]] QString localFolder() const; [[nodiscard]] QStringList selectiveSyncBlacklist() const; + [[nodiscard]] bool useFlow2() const; [[nodiscard]] bool useVirtualFileSync() const; [[nodiscard]] bool isConfirmBigFolderChecked() const; @@ -88,7 +89,6 @@ class OwncloudWizard : public QWizard QSslKey _clientSslKey; // key extracted from pkcs12 QSslCertificate _clientSslCertificate; // cert extracted from pkcs12 QList _clientSslCaCertificates; - bool useFlow2() { return _useFlow2; }; public slots: void setAuthType(OCC::DetermineAuthTypeJob::AuthType type);