NOISSUE and one more build for the build gods... ssl error catching again.

This commit is contained in:
Petr Mrázek 2017-11-01 23:21:00 +01:00
parent e5da2e36c7
commit 87edaa7dcd

View File

@ -102,8 +102,8 @@ 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, &QNetworkReply::sslErrors, this, &Download::sslErrors);
connect(rep, SIGNAL(readyRead()), SLOT(downloadReadyRead())); connect(rep, &QNetworkReply::readyRead, this, &Download::downloadReadyRead);
} }
void Download::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) void Download::downloadProgress(qint64 bytesReceived, qint64 bytesTotal)