diff options
Diffstat (limited to 'api/logic/net')
-rw-r--r-- | api/logic/net/Download.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/net/Download.cpp b/api/logic/net/Download.cpp index fa8421ba..816d2002 100644 --- a/api/logic/net/Download.cpp +++ b/api/logic/net/Download.cpp @@ -102,8 +102,8 @@ void Download::start() connect(rep, SIGNAL(downloadProgress(qint64, qint64)), SLOT(downloadProgress(qint64, qint64))); connect(rep, SIGNAL(finished()), SLOT(downloadFinished())); 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, &QNetworkReply::sslErrors, this, &Download::sslErrors); + connect(rep, &QNetworkReply::readyRead, this, &Download::downloadReadyRead); } void Download::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) |