diff --git a/src/gui/creds/webflowcredentialsdialog.cpp b/src/gui/creds/webflowcredentialsdialog.cpp index 30a327afa2..9971f8f34e 100644 --- a/src/gui/creds/webflowcredentialsdialog.cpp +++ b/src/gui/creds/webflowcredentialsdialog.cpp @@ -41,14 +41,13 @@ WebFlowCredentialsDialog::WebFlowCredentialsDialog(Account *account, bool useFlo _errorLabel->hide(); _layout->addWidget(_errorLabel); - Theme *theme = Theme::instance(); WizardCommon::initErrorLabel(_errorLabel); setLayout(_layout); } void WebFlowCredentialsDialog::closeEvent(QCloseEvent* e) { - Q_UNUSED(e); + Q_UNUSED(e) if (_webView) { // Force calling WebView::~WebView() earlier so that _profile and _page are diff --git a/src/gui/creds/webflowcredentialsdialog.h b/src/gui/creds/webflowcredentialsdialog.h index 4e1f21c0dd..a540f0edb4 100644 --- a/src/gui/creds/webflowcredentialsdialog.h +++ b/src/gui/creds/webflowcredentialsdialog.h @@ -24,7 +24,7 @@ public: void setInfo(const QString &msg); void setError(const QString &error); - const bool isUsingFlow2() const { + bool isUsingFlow2() const { return _useFlow2; } diff --git a/src/gui/wizard/owncloudwizard.h b/src/gui/wizard/owncloudwizard.h index 0b7b715a8d..c37bfd97e4 100644 --- a/src/gui/wizard/owncloudwizard.h +++ b/src/gui/wizard/owncloudwizard.h @@ -104,11 +104,11 @@ private: #ifndef NO_SHIBBOLETH OwncloudShibbolethCredsPage *_shibbolethCredsPage; #endif + Flow2AuthCredsPage *_flow2CredsPage; OwncloudAdvancedSetupPage *_advancedSetupPage; OwncloudWizardResultPage *_resultPage; AbstractCredentialsWizardPage *_credentialsPage; WebViewPage *_webViewPage; - Flow2AuthCredsPage *_flow2CredsPage; QStringList _setupLog;