diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-01-30 16:38:00 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-01-31 12:22:17 +0100 |
commit | 858e16567539b793d31fe918f9728d68307df321 (patch) | |
tree | 3b31029dbabd66418030dfff6c1561c0a0560627 /src/libs/installer/downloadfiletask.cpp | |
parent | 751a7b8e8f58acf3913659ff5026bff0108d5c0b (diff) |
Fix auto test and Qt4 warning on Windows.
Change-Id: If06c40df13eb9ecb5a5cf8942f2f19c7e3dafcce
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/libs/installer/downloadfiletask.cpp')
-rw-r--r-- | src/libs/installer/downloadfiletask.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<QSslError>)), SLOT(onSslErrors(QList<QSslError>))); #endif connect(reply, SIGNAL(downloadProgress(qint64, qint64)), this, SLOT(onDownloadProgress(qint64, |