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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-08-25 13:46:05 +0300
committerHannah von Reth <vonreth@kde.org>2021-08-25 18:20:23 +0300
commitff9a420d5c0e44dc3602ab5b05e2d209725644f9 (patch)
treea55e9a4a6d8377a4a6ac5f5d95d8cf865882baeb /src/gui/sslerrordialog.cpp
parentdd7536d0f930d65a15e9e10cae3209d2651ef58d (diff)
Minor cleanup
Diffstat (limited to 'src/gui/sslerrordialog.cpp')
-rw-r--r--src/gui/sslerrordialog.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/sslerrordialog.cpp b/src/gui/sslerrordialog.cpp
index 28162c9b4..dbd066034 100644
--- a/src/gui/sslerrordialog.cpp
+++ b/src/gui/sslerrordialog.cpp
@@ -30,13 +30,9 @@ namespace Utility {
QString escape(const QStringList &l) { return escape(l.join(';')); }
}
-bool SslDialogErrorHandler::handleErrors(QList<QSslError> errors, const QSslConfiguration &conf, QList<QSslCertificate> *certs, AccountPtr account)
+bool SslDialogErrorHandler::handleErrors(const QList<QSslError> &errors, const QSslConfiguration &, QList<QSslCertificate> *certs, AccountPtr account)
{
- (void)conf;
- if (!certs) {
- qCCritical(lcSslErrorDialog) << "Certs parameter required but is NULL!";
- return false;
- }
+ Q_ASSERT(certs);
SslErrorDialog dlg(account);
// whether the failing certs have previously been accepted