summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-11-01 23:21:00 +0100
committerPetr Mrázek <peterix@gmail.com>2017-11-01 23:21:00 +0100
commit87edaa7dcd05db10399eda1b2769208a82a54cdf (patch)
tree6fea43dee86ba57933cb9deb3b2efa41a6a62fb0 /api
parente5da2e36c7b1787959d6ee829284c19297816de6 (diff)
downloadMultiMC-87edaa7dcd05db10399eda1b2769208a82a54cdf.tar
MultiMC-87edaa7dcd05db10399eda1b2769208a82a54cdf.tar.gz
MultiMC-87edaa7dcd05db10399eda1b2769208a82a54cdf.tar.lz
MultiMC-87edaa7dcd05db10399eda1b2769208a82a54cdf.tar.xz
MultiMC-87edaa7dcd05db10399eda1b2769208a82a54cdf.zip
NOISSUE and one more build for the build gods... ssl error catching again.
Diffstat (limited to 'api')
-rw-r--r--api/logic/net/Download.cpp4
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)