aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/basejob.cpp')
-rw-r--r--jobs/basejob.cpp9
1 files changed, 0 insertions, 9 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;