NOISSUE actually do catch the ssl errors

This commit is contained in:
Petr Mrázek 2017-11-01 23:04:49 +01:00
parent e44a0cb944
commit e5da2e36c7

View File

@ -102,6 +102,7 @@ void Download::start()
connect(rep, SIGNAL(downloadProgress(qint64, qint64)), SLOT(downloadProgress(qint64, qint64))); connect(rep, SIGNAL(downloadProgress(qint64, qint64)), SLOT(downloadProgress(qint64, qint64)));
connect(rep, SIGNAL(finished()), SLOT(downloadFinished())); connect(rep, SIGNAL(finished()), SLOT(downloadFinished()));
connect(rep, SIGNAL(error(QNetworkReply::NetworkError)), SLOT(downloadError(QNetworkReply::NetworkError))); connect(rep, SIGNAL(error(QNetworkReply::NetworkError)), SLOT(downloadError(QNetworkReply::NetworkError)));
connect(rep, SIGNAL(sslErrors(const QList<QSslError> & errors)), SLOT(sslErrors(const QList<QSslError> & errors)));
connect(rep, SIGNAL(readyRead()), SLOT(downloadReadyRead())); connect(rep, SIGNAL(readyRead()), SLOT(downloadReadyRead()));
} }