Mercurial > trustbridge
diff ui/downloader.cpp @ 924:75085f7adc78
Only include sslconnection_curl if curl is used
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 21 Aug 2014 15:24:01 +0200 |
parents | eaed02defe6a |
children | 879a634d0a40 |
line wrap: on
line diff
--- a/ui/downloader.cpp Thu Aug 21 15:00:49 2014 +0200 +++ b/ui/downloader.cpp Thu Aug 21 15:24:01 2014 +0200 @@ -28,8 +28,11 @@ #define MAX_SW_SIZE 15728640 #define MAX_LIST_SIZE 1048576 +#ifdef USE_CURL #include "sslconnection_curl.h" +#else #include "sslconnection_bare.h" +#endif Downloader::Downloader(QObject* parent, const QString& url, const QByteArray& certificate,