Fix some compiler warnings

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-08-26 20:41:14 +02:00
parent 50cd6af394
commit 302ca0e04e
No known key found for this signature in database
GPG key ID: F941078878347C0C
3 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -24,7 +24,7 @@ public:
void setInfo(const QString &msg);
void setError(const QString &error);
const bool isUsingFlow2() const {
bool isUsingFlow2() const {
return _useFlow2;
}

View file

@ -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;