Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-08-26 21:41:14 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-26 21:41:14 +0300
commit302ca0e04e4527d4eb08c78999605cffe7efacaa (patch)
tree1a2989fc5f84ffbc786cfd48bbd0da900b6e63c4 /src/gui/creds
parent50cd6af394f666065f386d1d55e7d6a90e0d9c9e (diff)
Fix some compiler warnings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'src/gui/creds')
-rw-r--r--src/gui/creds/webflowcredentialsdialog.cpp3
-rw-r--r--src/gui/creds/webflowcredentialsdialog.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/creds/webflowcredentialsdialog.cpp b/src/gui/creds/webflowcredentialsdialog.cpp
index 30a327afa..9971f8f34 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 4e1f21c0d..a540f0edb 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;
}