aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'jobs')
-rw-r--r--jobs/basejob.cpp9
-rw-r--r--jobs/basejob.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/jobs/basejob.cpp b/jobs/basejob.cpp
index 3ea13c83..8d116c26 100644
--- a/jobs/basejob.cpp
+++ b/jobs/basejob.cpp
@@ -191,7 +191,6 @@ void BaseJob::sendRequest()
if (!d->requestQuery.isEmpty())
qCDebug(d->logCat) << " query:" << d->requestQuery.toString();
d->sendRequest();
- connect( d->reply.data(), &QNetworkReply::sslErrors, this, &BaseJob::sslErrors );
connect( d->reply.data(), &QNetworkReply::finished, this, &BaseJob::gotReply );
if (d->reply->isRunning())
{
@@ -371,14 +370,6 @@ void BaseJob::timeout()
finishJob();
}
-void BaseJob::sslErrors(const QList<QSslError>& errors)
-{
- foreach (const QSslError &error, errors) {
- qCWarning(d->logCat) << "SSL ERROR" << error.errorString();
- }
- d->reply->ignoreSslErrors(); // TODO: insecure! should prompt user first
-}
-
void BaseJob::setLoggingCategory(LoggingCategory lcf)
{
d->logCat = lcf;
diff --git a/jobs/basejob.h b/jobs/basejob.h
index 0d669b78..e3a379fa 100644
--- a/jobs/basejob.h
+++ b/jobs/basejob.h
@@ -267,7 +267,6 @@ namespace QMatrixClient
virtual ~BaseJob();
protected slots:
void timeout();
- void sslErrors(const QList<QSslError>& errors);
private slots:
void sendRequest();