From 858e16567539b793d31fe918f9728d68307df321 Mon Sep 17 00:00:00 2001 From: kh1 Date: Thu, 30 Jan 2014 16:38:00 +0100 Subject: Fix auto test and Qt4 warning on Windows. Change-Id: If06c40df13eb9ecb5a5cf8942f2f19c7e3dafcce Reviewed-by: Christian Stenger --- src/libs/installer/downloadfiletask.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libs/installer/downloadfiletask.cpp b/src/libs/installer/downloadfiletask.cpp index 53a04c9f4..d3f5f98f7 100644 --- a/src/libs/installer/downloadfiletask.cpp +++ b/src/libs/installer/downloadfiletask.cpp @@ -320,7 +320,8 @@ QNetworkReply *Downloader::startDownload(const FileTaskItem &item) connect(reply, SIGNAL(readyRead()), this, SLOT(onReadyRead())); connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(onError(QNetworkReply::NetworkError))); -#ifndef QT_NO_SSL +#ifndef QT_NO_OPENSSL + // TODO: once we switch to Qt5, use QT_NO_SSL instead of QT_NO_OPENSSL connect(reply, SIGNAL(sslErrors(QList)), SLOT(onSslErrors(QList))); #endif connect(reply, SIGNAL(downloadProgress(qint64, qint64)), this, SLOT(onDownloadProgress(qint64, -- cgit v1.2.3